This commit is contained in:
Jeena Paradies 2012-11-09 23:38:17 +01:00
parent 6b0a1fde17
commit 2bed2d844d
4 changed files with 24 additions and 9 deletions

View file

@ -3,12 +3,12 @@
<data>
<int key="IBDocument.SystemTarget">1080</int>
<string key="IBDocument.SystemVersion">12C60</string>
<string key="IBDocument.InterfaceBuilderVersion">2843</string>
<string key="IBDocument.InterfaceBuilderVersion">2844</string>
<string key="IBDocument.AppKitVersion">1187.34</string>
<string key="IBDocument.HIToolboxVersion">625.00</string>
<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin</string>
<string key="NS.object.0">2843</string>
<string key="NS.object.0">2844</string>
</object>
<object class="NSArray" key="IBDocument.IntegratedClassDependencies">
<bool key="EncodedWithXMLCoder">YES</bool>
@ -59,7 +59,7 @@
<bool key="NSEnabled">YES</bool>
<object class="NSTextFieldCell" key="NSCell" id="834602598">
<int key="NSCellFlags">-1809842175</int>
<int key="NSCellFlags2">272629760</int>
<int key="NSCellFlags2">268435456</int>
<string key="NSContents"/>
<object class="NSFont" key="NSSupport" id="991349575">
<string key="NSName">LucidaGrande</string>

View file

@ -138,6 +138,9 @@
- (BOOL)control:(NSControl *)control textView:(NSTextView *)fieldEditor doCommandBySelector:(SEL)commandSelector
{
NSLog(@"%@", NSStringFromSelector(commandSelector) );
BOOL retval = NO;
if (commandSelector == @selector(insertNewline:)) {
@ -161,8 +164,22 @@
[self sendTweet:control];
}
NSLog(@"%@", NSStringFromSelector(commandSelector) );
return retval;
}
/* Perform a Quick Look on the content at location in the event. If there are no Quick Look items at the location, call super.
Also, see quickLookPreviewItems: further below.
*/
- (void)quickLookWithEvent:(NSEvent *)event {
NSLog(@"%@", event);
}
/* Perform a Quick Look on the text cursor position, selection, or whatever is appropriate for your view. If there are no Quick Look
items, then call [[self nextResponder] tryToPerform:_cmd with:sender]; to pass the request up the responder chain. Eventually
AppKit will attempt to perform a dictionary look up. Also see quickLookWithEvent: above.
*/
- (void)quickLookPreviewItems:(id)sender {
NSLog(@"%@", sender);
}
@end

View file

@ -13,7 +13,7 @@ function(Core, Paths, HostApp, URI) {
this.action = "timeline";
this.max_length = 20;
this.max_length = 200;
this.timeout = 10 * 1000; // every 10 seconds
this.since_id = null;
this.since_id_entity = null;

View file

@ -232,8 +232,6 @@ function(jQuery, Paths, URI, HostApp, Followings) {
data["mentions"] = mentions;
}
debug(data);
//return
Paths.getURL(url.toString(), http_method, callback, JSON.stringify(data)); // FIXME: error callback
}