|
4 | 4 | <meta charset="UTF-8">
|
5 | 5 | <meta name="viewport" content="width=device-width, initial-scale=1">
|
6 | 6 | <title>Angular2 Bootstrap3 Modal Component</title>
|
7 |
| - <base href="/ng2-bs3-modal/"> |
| 7 | + <base href="/"> |
8 | 8 |
|
9 | 9 | <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.6/css/bootstrap.css">
|
10 | 10 |
|
11 | 11 | <script src="https://cdnjs.cloudflare.com/ajax/libs/es6-shim/0.35.0/es6-shim.min.js"></script>
|
12 |
| - <script src=" https://unpkg.com/[email protected].12?main=browser" ></script> |
| 12 | + <script src=" https://unpkg.com/[email protected].17?main=browser" ></script> |
13 | 13 | <script src=" https://unpkg.com/[email protected]" ></script>
|
14 |
| - <script src="https://cdnjs.cloudflare.com/ajax/libs/systemjs/0.19.27/system.js"></script> |
15 |
| - <script src="https://unpkg.com/typescript@1.8.10/lib/typescript.js"></script> |
| 14 | + <script src="https://cdnjs.cloudflare.com/ajax/libs/systemjs/0.19.38/system.js"></script> |
| 15 | + <script src="https://unpkg.com/typescript@2.0.0/lib/typescript.js"></script> |
16 | 16 |
|
17 | 17 | <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.0/jquery.js"></script>
|
18 | 18 | <script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.6/js/bootstrap.js"></script>
|
19 | 19 |
|
20 | 20 | <script>
|
21 | 21 | System.config({
|
22 |
| - baseURL: '/ng2-bs3-modal/', |
| 22 | + baseURL: '/', |
23 | 23 | transpiler: 'typescript',
|
24 | 24 | typescriptOptions: {
|
25 | 25 | emitDecoratorMetadata: true,
|
|
28 | 28 | packages: {
|
29 | 29 | 'demo': {main: 'main', defaultExtension: 'ts'},
|
30 | 30 | 'src': {defaultExtension: 'ts'},
|
31 |
| - '@angular/common': {main: 'index.js', defaultExtension: 'js'}, |
32 |
| - '@angular/compiler': {main: 'index.js', defaultExtension: 'js'}, |
33 |
| - '@angular/core': {main: 'index.js', defaultExtension: 'js'}, |
34 |
| - '@angular/platform-browser': {main: 'index.js', defaultExtension: 'js'}, |
35 |
| - '@angular/platform-browser-dynamic': {main: 'index.js', defaultExtension: 'js'}, |
36 |
| - '@angular/router': {main: 'index.js', defaultExtension: 'js'}, |
37 | 31 | 'rxjs': { defaultExtension: 'js' }
|
38 | 32 | },
|
| 33 | + paths: { |
| 34 | + 'npm:': 'https://unpkg.com/' |
| 35 | + }, |
39 | 36 | map: {
|
40 |
| - '@angular/common': 'https://unpkg.com/@angular/[email protected]', |
41 |
| - '@angular/compiler': 'https://unpkg.com/@angular/[email protected]', |
42 |
| - '@angular/core': 'https://unpkg.com/@angular/[email protected]', |
43 |
| - '@angular/platform-browser': 'https://unpkg.com/@angular/[email protected]', |
44 |
| - '@angular/platform-browser-dynamic': 'https://unpkg.com/@angular/[email protected]', |
45 |
| - '@angular/router': 'https://unpkg.com/@angular/[email protected]', |
46 |
| - 'rxjs': 'https://unpkg.com/[email protected]' |
| 37 | + '@angular/core': 'npm:@angular/core/bundles/core.umd.js', |
| 38 | + '@angular/common': 'npm:@angular/common/bundles/common.umd.js', |
| 39 | + '@angular/compiler': 'npm:@angular/compiler/bundles/compiler.umd.js', |
| 40 | + '@angular/platform-browser': 'npm:@angular/platform-browser/bundles/platform-browser.umd.js', |
| 41 | + '@angular/platform-browser-dynamic': 'npm:@angular/platform-browser-dynamic/bundles/platform-browser-dynamic.umd.js', |
| 42 | + '@angular/http': 'npm:@angular/http/bundles/http.umd.js', |
| 43 | + '@angular/router': 'npm:@angular/router/bundles/router.umd.js', |
| 44 | + '@angular/forms': 'npm:@angular/forms/bundles/forms.umd.js', |
| 45 | + 'rxjs': 'npm:rxjs', |
47 | 46 | }
|
48 | 47 | });
|
49 | 48 | System.import('demo').catch(function(err){ console.error(err); });
|
|
0 commit comments