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 6b01a9e..224d144 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 0d645c3..d44cd76 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>
     <!--