mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-26 03:01:51 +08:00
Use relative imports in tns-core-modules.
Use tns-core-modules/* imports in outside code (apps, tests, etc)
This commit is contained in:

committed by
Hristo Deshev

parent
dfb4e031a6
commit
629eb6e683
@ -1,4 +1,4 @@
|
||||
import * as observable from "data/observable";
|
||||
import * as observable from "tns-core-modules/data/observable";
|
||||
|
||||
export function pageLoaded(args) {
|
||||
var page = args.object;
|
||||
@ -8,4 +8,4 @@ export function pageLoaded(args) {
|
||||
var obj = new observable.Observable();
|
||||
obj.set("textProperty", "text");
|
||||
page.bindingContext = obj;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user