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>
</head>
<body>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
  
<script src="http://builds.handlebarsjs.com.s3.amazonaws.com/handlebars-v1.3.0.js"></script>
  
<script src="http://builds.emberjs.com/beta/ember.js"></script>
  
<script src="http://builds.emberjs.com/beta/ember-data.js"></script>
  
<script src="http://cdnjs.cloudflare.com/ajax/libs/jquery-mockjax/1.5.3/jquery.mockjax.js"></script>
  
<script type="text/x-handlebars" data-template-name="index">
  <ul>
  {{#if length}}
    {{#each}}
      <li>
         {{title}}
          <ul>
            {{#each comments}}
              <li>{{body}}</li>
            {{/each}}
          </ul>
      </li>
    {{/each}}
   {{else}}
     <p>No posts found</p>
   {{/if}}
  </ul>
</script>
  
</body>
</html>
Output

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

Dismiss x
public
Bin info
anonymouspro
0viewers