Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>JS Bin</title>
  <script src="http://code.jquery.com/jquery-1.8.2.js"></script>
  <script src="http://cloud.github.com/downloads/wycats/handlebars.js/handlebars-1.0.rc.1.js"></script>
  <script src="http://cloud.github.com/downloads/emberjs/ember.js/ember-latest.js"></script>
</head>
<body>
  <script type="text/x-handlebars" data-template-name="application">
    {{#each item in content}}
      {{item}}
    {{/each}}
  </script>
</body>
</html>
 
MyApp = Ember.Application.create({
  autoinit: false
});
MyApp.router = Ember.Router.create({
  root: Ember.Route.extend({
    index: Ember.Route.extend({
      route: '/'
    })
  })
});
MyApp.ApplicationController = Ember.Controller.extend({
  content: ['a', 'b', 'c']
});
MyApp.initialize(MyApp.router);
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers