Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Add +app: to shorten up app communication.

example [[JSTalk app:'Hibari'] selectedTweet]
(versus [[JSTalk application:'Hibari'] selectedTweet])
  • Loading branch information...
commit d67ffb28947e60a90d13d37c2e6ddeea78b8da3d 1 parent 5859ea0
Jonathan 'Wolf' Rentzsch rentzsch authored

Showing 2 changed files with 4 additions and 0 deletions. Show diff stats Hide diff stats

  1. +1 0  src/JSTalk.h
  2. +3 0  src/JSTalk.m
1  src/JSTalk.h
@@ -32,5 +32,6 @@
32 32 + (void)resetPlugins;
33 33 + (void)setShouldLoadJSTPlugins:(BOOL)b;
34 34 + (id)application:(NSString*)app;
  35 ++ (id)app:(NSString*)app;
35 36
36 37 @end
3  src/JSTalk.m
@@ -338,6 +338,9 @@ + (id)application:(NSString*)app {
338 338 return [self applicationOnPort:[NSString stringWithFormat:@"%@.JSTalk", bundleId]];
339 339 }
340 340
  341 ++ (id)app:(NSString*)app {
  342 + return [self application:app];
  343 +}
341 344
342 345 + (id)proxyForApp:(NSString*)app {
343 346 return [self application:app];

0 comments on commit d67ffb2

Please sign in to comment.
Something went wrong with that request. Please try again.