Skip to content

Commit dd922f0

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

3 files changed

Lines changed: 7 additions & 28 deletions

File tree

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:[email protected]",
21-
"typescript": "github:mhegazy/[email protected]",
22-
"github:jspm/[email protected]": {
23-
"process": "npm:[email protected]"
24-
},
25-
26-
"fs": "github:jspm/[email protected]",
27-
"process": "github:jspm/[email protected]",
28-
"systemjs-json": "github:systemjs/[email protected]"
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)