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

@ -16,9 +16,7 @@ function onMaxValuePropertyChanged(data: dependencyObservable.PropertyChangeData
(<proxy.PropertyMetadata>common.Progress.valueProperty.metadata).onSetNativeValue = onValuePropertyChanged;
(<proxy.PropertyMetadata>common.Progress.maxValueProperty.metadata).onSetNativeValue = onMaxValuePropertyChanged;
// merge the exports of the common file with the exports of this file
declare var exports;
require("utils/module-merge").merge(common, exports);
global.moduleMerge(common, exports);
export class Progress extends common.Progress {
private _ios: UIProgressView;