]> git.uio.no Git - u/erikhf/frm.git/commitdiff
added a new structure
authorJulie Hill Roa <julie.hill.roa@gmail.com>
Thu, 5 Nov 2015 14:03:03 +0000 (15:03 +0100)
committerJulie Hill Roa <julie.hill.roa@gmail.com>
Thu, 5 Nov 2015 14:03:03 +0000 (15:03 +0100)
src/components/app/app.ts [moved from src/app/app.ts with 74% similarity]
src/index.html

similarity index 74%
rename from src/app/app.ts
rename to src/components/app/app.ts
index 6b01a9e59c97660e88db6b6b2392f7c653a4d9b9..224d144bb9f607cb296a097e8864190d33411e35 100644 (file)
@@ -1,4 +1,4 @@
-import {bootstrap, Component, CORE_DIRECTIVES} from 'angular2/angular2';
+import {bootstrap, Component, CORE_DIRECTIVES} from '../../../node_modules/angular2/angular2.d.ts';
 
 @Component({
     selector: 'hello-world',
index 0d645c314f159951fcfa6eb47dccd00cd0a428e6..d44cd76894bf3d1dcf53c2f03552d3c5996384e3 100644 (file)
@@ -16,9 +16,9 @@
     <script src="http://code.jquery.com/jquery-1.11.3.min.js"></script>
     <script>
         System.config({
-            packages: {'app': {defaultExtension: 'js'}}
+            packages: {'components': {defaultExtension: 'js'}}
         });
-        System.import('app/app');
+        System.import('components/app/app');
     </script>
     <!--