Skip to content

Commit 7daf92b

Browse files
committed
Update to latest runtime
1 parent 60acf7d commit 7daf92b

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

ng-sample/app/snapshot.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,12 @@ global.__extends = (this && this.__extends) || function (d, b) {
5959
global.__requireOverride = function(moduleId) {
6060
__trace("Require " + moduleId);
6161

62-
if (moduleId == "application") {
62+
moduleId = moduleId.replace(/^\.\/tns_modules\//, '');
63+
64+
if (moduleId == "application/application.js") {
6365
return __webpack_require__(15);
6466
}
65-
if (moduleId == "ui/frame") {
67+
if (moduleId == "ui/frame/frame.js") {
6668
return __webpack_require__(9);
6769
}
6870

ng-sample/package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,16 @@
3434
"zone.js": "0.5.15"
3535
},
3636
"devDependencies": {
37+
"babel-traverse": "6.7.6",
38+
"babel-types": "6.7.2",
39+
"babylon": "6.7.0",
40+
"filewalker": "0.1.2",
3741
"grunt": "0.4.5",
3842
"grunt-contrib-clean": "0.6.0",
3943
"grunt-contrib-copy": "0.8.0",
4044
"grunt-shell": "1.1.2",
4145
"grunt-ts": "5.0.0-beta.5",
46+
"lazy": "1.0.11",
4247
"nativescript-dev-typescript": "^0.3.1",
4348
"shelljs": "^0.5.3",
4449
"typescript": "1.8.2",
@@ -47,7 +52,7 @@
4752
"nativescript": {
4853
"id": "org.nativescript.ngsample",
4954
"tns-android": {
50-
"version": "1.7.0"
55+
"version": "2.0.0"
5156
}
5257
}
5358
}

0 commit comments

Comments
 (0)