Make moduleMerge a global function - this saves a total of 83 requires upon application loading.

This commit is contained in:
atanasovg
2015-07-27 13:04:48 +03:00
parent b3a14b55a1
commit 1439313e7b
83 changed files with 108 additions and 247 deletions

View File

@@ -7,8 +7,7 @@ import utils = require("utils/utils");
import view = require("ui/core/view");
import application = require("application");
declare var exports;
require("utils/module-merge").merge(frameCommon, exports);
global.moduleMerge(frameCommon, exports);
var TAG = "_fragmentTag";
var OWNER = "_owner";