v1.0.0-pre.3 にアップグレードすると、次のエラーが発生します。
Uncaught Error: assertion failed: Ember.Object.create no longer supports defining methods that call _super.
パフォーマンス上の理由から、元の create() 機能は createWithMixins() に保持されていたようです
ここでかなり明確に答えられています:
https://github.com/emberjs/ember.js/commit/c1c720781c976f69fd4014ea50a1fee652286048
https://github.com/emberjs/ember.js/pull/1623#issuecomment-11699639
ミックスインとパラメーターを使用した Ember.Application.create
しかし、その変更を行うと、次のエラーが発生します。
Uncaught Error: assertion failed: Application initialize may only be called once
コードベースを検索すると、App.initialize() を 1 回だけ実行しています。
(function(root){
require(["config"], function(config){
requirejs.config(config);
require(["App", "domReady!", "ember"], function(App, doc, Ember){
var app_name = config.app_name || "App";
root[app_name] = App = Ember.Application.create(App);
!App.isInitialized && App.initialize();
});
});
})(this);
何か案は?