mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-17 04:41:36 +08:00
Make moduleMerge a global function - this saves a total of 83 requires upon application loading.
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user