mardi 10 février 2015

Ember.Application.create vs Ember.Application.extend

I noticed that in the app.js file produced by Ember CLI (v0.1.12), they're using:



var App = Ember.Application.extend({...})


but in the introduction guide, they're using:



window.App = Ember.Application.create({...});


Is there any difference in outcome between these two (create vs. extend) ways of creating an Ember application?





Aucun commentaire:

Enregistrer un commentaire