SHOW:
|
|
- or go back to the newest paste.
| 1 | addToReadOnTouchPro: function() {
| |
| 2 | var Twitter = new TwitterAPI(this.user); | |
| 3 | var id = this.tweet.original_id; | |
| 4 | //var this.readontouchid = "com.sven-ziegler.readontouch"; | |
| 5 | var request = new Mojo.Service.Request("palm://com.palm.applicationManager", {
| |
| 6 | method: 'open', | |
| 7 | parameters: {
| |
| 8 | - | params: {action: 'addLink', url: "http://twitter.com/#!" + this.tweet.user.screen_name + "/" + "status/" + this.tweet.original_id}
|
| 8 | + | |
| 9 | params: {action: 'addLink', url: "http://twitter.com/#!" + this.tweet.user.screen_name + "/" + "status/" + id}
| |
| 10 | }}); | |
| 11 | banner('Added URL to ReadOnTouch PRO');
| |
| 12 | }, | |
| 13 | copyUrl: function() {
| |
| 14 | var Twitter = new TwitterAPI(this.user); | |
| 15 | var id = this.tweet.original_id; | |
| 16 | this.controller.stageController.setClipboard("http://twitter.com/#!" + this.tweet.user.screen_name + "/" + "status/" + id,true);
| |
| 17 | - | }, |
| 17 | + | |
| 18 | }, | |
| 19 | ||
| 20 |