Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE HTML>
<html>
    <head>
        <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/ember-latest.js"></script>
    </head>
<body>
</body>
</html>
 
var requestPromise = new Ember.RSVP.Promise(function(resolve, reject) {
    $.get("/", resolve).fail(reject);
}); 
requestPromise.then(function(r) {
    console.log(r);
}, function(r) {
    console.log('fail');
});
Output

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

Dismiss x
public
Bin info
anonymouspro
0viewers