Skip to content

Commit

Permalink
[jigish#91] apparently I can't add aliases to objects
Browse files Browse the repository at this point in the history
  • Loading branch information
Jigish Patel committed Jan 26, 2013
1 parent abbe4b3 commit 1514e22
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 19 deletions.
4 changes: 0 additions & 4 deletions Slate/JSApplicationWrapper.m
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,7 @@ + (void)setJsMethods {
NSStringFromSelector(@selector(pid)): @"pid",
NSStringFromSelector(@selector(name)): @"name",
NSStringFromSelector(@selector(eachWindow:)): @"eachWindow",
NSStringFromSelector(@selector(eachWindow:)): @"ewindow",
NSStringFromSelector(@selector(mainWindow)): @"mainWindow",
NSStringFromSelector(@selector(mainWindow)): @"mwindow",
NSStringFromSelector(@selector(mainWindow)): @"focusedWindow",
NSStringFromSelector(@selector(mainWindow)): @"fwindow",
};
}
}
Expand Down
8 changes: 0 additions & 8 deletions Slate/JSInfoWrapper.m
Original file line number Diff line number Diff line change
Expand Up @@ -152,21 +152,13 @@ + (void)setJsMethods {
NSStringFromSelector(@selector(app)): @"app",
NSStringFromSelector(@selector(screen)): @"screen",
NSStringFromSelector(@selector(eachApp:)): @"eachApp",
NSStringFromSelector(@selector(eachApp:)): @"eapp",
NSStringFromSelector(@selector(windowUnderPoint:)): @"windowUnderPoint",
NSStringFromSelector(@selector(windowUnderPoint:)): @"wup",
NSStringFromSelector(@selector(isRectOffScreen:)): @"isRectOffScreen",
NSStringFromSelector(@selector(isRectOffScreen:)): @"rectoff",
NSStringFromSelector(@selector(isPointOffScreen:)): @"isPointOffScreen",
NSStringFromSelector(@selector(isPointOffScreen:)): @"pntoff",
NSStringFromSelector(@selector(screenForRef:)): @"screenForRef",
NSStringFromSelector(@selector(screenForRef:)): @"screenr",
NSStringFromSelector(@selector(screenCount)): @"screenCount",
NSStringFromSelector(@selector(screenCount)): @"screenc",
NSStringFromSelector(@selector(screenUnderPoint:)): @"screenUnderPoint",
NSStringFromSelector(@selector(screenUnderPoint:)): @"sup",
NSStringFromSelector(@selector(eachScreen:)): @"eachScreen",
NSStringFromSelector(@selector(eachScreen:)): @"escreen",
NSStringFromSelector(@selector(jsMethods)): @"jsMethods",
};
}
Expand Down
2 changes: 0 additions & 2 deletions Slate/JSOperationWrapper.m
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,6 @@ + (void)setJsMethods {
if (jsowJsMethods == nil) {
jsowJsMethods = @{
NSStringFromSelector(@selector(run)): @"run",
NSStringFromSelector(@selector(run)): @"do",
NSStringFromSelector(@selector(dup:)): @"duplicate",
NSStringFromSelector(@selector(dup:)): @"dup",
};
}
Expand Down
1 change: 0 additions & 1 deletion Slate/JSScreenWrapper.m
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ + (void)setJsMethods {
NSStringFromSelector(@selector(screenId)): @"id",
NSStringFromSelector(@selector(rect)): @"rect",
NSStringFromSelector(@selector(isMain)): @"isMain",
NSStringFromSelector(@selector(isMain)): @"main",
};
}
}
Expand Down
4 changes: 0 additions & 4 deletions Slate/JSWindowWrapper.m
Original file line number Diff line number Diff line change
Expand Up @@ -137,20 +137,16 @@ + (void)setJsMethods {
jswwJsMethods = @{
NSStringFromSelector(@selector(title)): @"title",
NSStringFromSelector(@selector(topLeft)): @"topLeft",
NSStringFromSelector(@selector(topLeft)): @"tl",
NSStringFromSelector(@selector(size)): @"size",
NSStringFromSelector(@selector(rect)): @"rect",
NSStringFromSelector(@selector(pid)): @"pid",
NSStringFromSelector(@selector(focus)): @"focus",
NSStringFromSelector(@selector(isMinimizedOrHidden)): @"isMinimizedOrHidden",
NSStringFromSelector(@selector(isMinimizedOrHidden)): @"hidden",
NSStringFromSelector(@selector(isMain)): @"isMain",
NSStringFromSelector(@selector(isMain)): @"main",
NSStringFromSelector(@selector(move:)): @"move",
NSStringFromSelector(@selector(resize:)): @"resize",
NSStringFromSelector(@selector(screen)): @"screen",
NSStringFromSelector(@selector(doOperation:)): @"doOperation",
NSStringFromSelector(@selector(doOperation:)): @"do",
NSStringFromSelector(@selector(app)): @"app",
};
}
Expand Down

0 comments on commit 1514e22

Please sign in to comment.