mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 11:42:04 +08:00
Make moduleMerge a global function - this saves a total of 83 requires upon application loading.
This commit is contained in:
@ -1,8 +1,7 @@
|
||||
import formattedStringCommon = require("text/formatted-string-common");
|
||||
import spanModule = require("text/span");
|
||||
|
||||
declare var exports;
|
||||
require("utils/module-merge").merge(formattedStringCommon, exports);
|
||||
global.moduleMerge(formattedStringCommon, exports);
|
||||
|
||||
export class FormattedString extends formattedStringCommon.FormattedString {
|
||||
public createFormattedStringCore() {
|
||||
|
Reference in New Issue
Block a user