Revisions
-
There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,56 @@ <!DOCTYPE html> <html> <head> <script src="http://code.jquery.com/jquery-1.9.1.js"></script> <script src="http://cdnjs.cloudflare.com/ajax/libs/handlebars.js/1.0.0-rc.3/handlebars.js"></script> <script src="http://cdnjs.cloudflare.com/ajax/libs/ember.js/1.0.0-rc.1/ember.js"></script> <meta charset=utf-8 /> <title>JS Bin</title> </head> <body> <script type="text/x-handlebars"> <h1>{{App.name}}</h1> <h2>{{App.secondsOnPage}}</h2> </script> <script id="jsbin-javascript"> var App = Ember.Application.create(); App.name = "Hello World!"; App.secondsOnPage = 0; setInterval(function() { App.set('secondsOnPage', App.get('secondsOnPage') + 1); }, 1000); </script> <script id="jsbin-source-html" type="text/html"><!DOCTYPE html> <html> <head> <script src="http://code.jquery.com/jquery-1.9.1.js"><\/script> <script src="//cdnjs.cloudflare.com/ajax/libs/handlebars.js/1.0.0-rc.3/handlebars.js"><\/script> <script src="//cdnjs.cloudflare.com/ajax/libs/ember.js/1.0.0-rc.1/ember.js"><\/script> <meta charset=utf-8 /> <title>JS Bin</title> </head> <body> <script type="text/x-handlebars"> <h1>{{App.name}}</h1> <h2>{{App.secondsOnPage}}</h2> <\/script> </body> </html></script> <script id="jsbin-source-javascript" type="text/javascript">var App = Ember.Application.create(); App.name = "Hello World!"; App.secondsOnPage = 0; setInterval(function() { App.set('secondsOnPage', App.get('secondsOnPage') + 1); }, 1000);</script></body> </html> 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ var App = Ember.Application.create(); App.name = "Hello World!"; App.secondsOnPage = 0; setInterval(function() { App.set('secondsOnPage', App.get('secondsOnPage') + 1); }, 1000);