Created
August 2, 2012 23:01
-
-
Save tdm00/3241690 to your computer and use it in GitHub Desktop.
ember.js code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/js/app.js b/js/app.js | |
| index ff617b3..f6ffa0b 100644 | |
| --- a/js/app.js | |
| +++ b/js/app.js | |
| @@ -32,7 +32,7 @@ App.tweetsController = Em.ArrayController.create({ | |
| var me = this; | |
| var username = me.get("username"); | |
| if ( username ) { | |
| - var url = 'http://api.twitter.com/1/statuses/user_timeline.json' | |
| + var url = 'http://api.twitter.com/1/statuses/user_timeline.json'; | |
| url += '?screen_name=%@&callback=?'.fmt(me.get("username")); | |
| // push username to recent user array | |
| App.recentUsersController.addUser(username); | |
| @@ -46,7 +46,7 @@ App.tweetsController = Em.ArrayController.create({ | |
| date: value.created_at | |
| }); | |
| me.pushObject(t); | |
| - }) | |
| + }); | |
| }); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment