Skip to content

Commit dd922f0

Browse files
committed
update sample to work with the most recent version of systemjs
1 parent 120a409 commit dd922f0

File tree

3 files changed

+7
-28
lines changed

3 files changed

+7
-28
lines changed

jspm/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
**Setup jspm and install jspm dependencies**
22
```
33
npm install -g jspm@beta
4+
jspm dl-loader --edge
45
jspm install
56
67
```

jspm/config.js

Lines changed: 6 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,13 @@
11
System.config({
2-
"baseURL": "/",
3-
"defaultJSExtensions": true,
4-
"transpiler": "typescript",
5-
"paths": {
6-
"*": "src/*",
7-
"src": "src",
8-
"github:*": "jspm_packages/github/*",
9-
"npm:*": "jspm_packages/npm/*"
2+
baseURL: "/",
3+
defaultJSExtensions: true,
4+
transpiler: "typescript",
5+
paths: {
6+
"*": "src/*"
107
},
11-
"packages": {
8+
packages: {
129
"/src": {
1310
"defaultExtension": "ts"
1411
}
1512
}
1613
});
17-
18-
System.config({
19-
"map": {
20-
"core-js": "npm:core-js@0.9.18",
21-
"typescript": "github:mhegazy/typescript@v1.5-beta2",
22-
"github:jspm/nodelibs-process@0.1.1": {
23-
"process": "npm:process@0.10.1"
24-
},
25-
"npm:core-js@0.9.18": {
26-
"fs": "github:jspm/nodelibs-fs@0.1.2",
27-
"process": "github:jspm/nodelibs-process@0.1.1",
28-
"systemjs-json": "github:systemjs/plugin-json@0.1.0"
29-
}
30-
}
31-
});
32-

jspm/package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@
33
"directories": {},
44
"dependencies": {
55
"core-js": "npm:core-js@^0.9.4"
6-
},
7-
"devDependencies": {
8-
"typescript": "npm:typescript"
96
}
107
}
118
}

0 commit comments

Comments
 (0)