JavaScript Ember Promises missing finally handler?

The ember documentation states that there is a finally handler available on Promises:

http://emberjs.com/api/classes/Ember.RSVP.Promise.html#method_finally

However, using finally on a promise yields Uncaught TypeError: undefined is not a function (http://jsfiddle.net/XawmE/).

Is the Ember documentation wrong? Am I missing something?

Answer:1

In the options page of a chrome extension, localStorage is null and thus can not be used. Here are the files of the unpacked extension producing error. manifest.json { "name": "someTest", "...

In the options page of a chrome extension, localStorage is null and thus can not be used. Here are the files of the unpacked extension producing error. manifest.json { "name": "someTest", "...

I select an element of the page: $mainSection = $('#main'); then I add more Elements via AJAX into the <div id="main"></div> element. Next time I call $mainSection, the newly added ...

I select an element of the page: $mainSection = $('#main'); then I add more Elements via AJAX into the <div id="main"></div> element. Next time I call $mainSection, the newly added ...

  1. prevent element from scrolling
  2. prevent element from losing focus
  3. prevent element from inheriting css
  4. prevent element from getting focus
  5. prevent element from overflowing
  6. prevent element from moving css
  7. prevent element from scrolling css
  8. prevent elements from going to next line
  9. prevent element from being clicked
  10. prevent element from wrapping
  11. prevent element from being tabbed to
  12. prevent element from resizing
  13. prevent element from overlapping
  14. prevent element from drag
  15. prevent element from hover
  16. css prevent element from going off screen
  17. css prevent element from overflowing
  18. prevent flex element from growing
  19. css prevent element from wrapping
  20. html prevent element from getting focus

I have built a website but really struggling with easyslider and Internet explorer. It seems the Javascript is loading and then deciding against it for some reason. jQuery is included in the header ...

I have built a website but really struggling with easyslider and Internet explorer. It seems the Javascript is loading and then deciding against it for some reason. jQuery is included in the header ...

chart3 = new Highcharts.Chart({ chart: { renderTo: 'container3', type: 'column' }, title: { ...

chart3 = new Highcharts.Chart({ chart: { renderTo: 'container3', type: 'column' }, title: { ...

  1. javascript undefined variable works