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-2.0.2.js"></script>
  <script src="http://builds.emberjs.com/handlebars-1.0.0.js"></script>
  <script src="http://builds.emberjs.com/canary/ember.js"></script>
</head>
<body>
  <script type="text/x-handlebars" data-template-name="application">
    <h1>animated routes</h1>
    
    {{#link-to 'one'}}ONE{{/link-to}}
    {{#link-to 'two'}}TWO{{/link-to}}
    {{#link-to 'three'}}THREE{{/link-to}}
    
    <div class="outlet">
      {{outlet}}
    </div>
  </script>
  
  <script type="text/x-handlebars" data-template-name="index">
    <h2>Index</h2>
  </script>
  <script type="text/x-handlebars" data-template-name="one">
    <h2>one</h2>
  </script>
  <script type="text/x-handlebars" data-template-name="two">
    <h2>two</h2>
  </script>
  <script type="text/x-handlebars" data-template-name="three">
    <h2>three</h2>
  </script>
</body>
</html>
  
Output

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

Dismiss x
public
Bin info
zaiuspro
0viewers