diff --git a/gulpfile.js b/gulpfile.js index 6cd5f32..d93b577 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -32,7 +32,8 @@ var PATHS = { 'node_modules/angular2/bundles/angular2.min.js', 'node_modules/systemjs/dist/system.js', 'node_modules/systemjs/dist/system-polyfills.js', - 'node_modules/es6-shim/es6-shim.min.js' + 'node_modules/es6-shim/es6-shim.min.js', + 'node_modules/reflect-metadata/Reflect.js' ], rx: 'node_modules/rxjs/**/*.js', typings: [ diff --git a/package.json b/package.json index 0fca6c8..4baf232 100644 --- a/package.json +++ b/package.json @@ -35,10 +35,10 @@ "src/NgGrid.css" ], "peerDependencies": { - "angular2": "2.0.0-alpha.53" + "angular2": "2.0.0-beta.0" }, "devDependencies": { - "angular2": "2.0.0-alpha.53", + "angular2": "2.0.0-beta.0", "del": "^1.2.1", "es6-promise": "^3.0.2", "es6-shim": "^0.33.3", @@ -56,10 +56,10 @@ "phantomjs": "^1.9.19", "reflect-metadata": "^0.1.2", "run-sequence": "^1.1.5", - "rxjs": "5.0.0-alpha.14", + "rxjs": "5.0.0-beta.0", "systemjs": "^0.19.4", "typescript": "^1.6.2", - "zone.js": "0.5.8" + "zone.js": "0.5.10" }, "dependencies": {} } diff --git a/src/app.ts b/src/app.ts index ba0eb60..cfa951f 100644 --- a/src/app.ts +++ b/src/app.ts @@ -1,4 +1,4 @@ -import { Component, View, Self, Query, QueryList, ViewEncapsulation } from 'angular2/core'; +import { Component, View, Self, Query, QueryList, ViewEncapsulation, enableProdMode } from 'angular2/core'; import { CORE_DIRECTIVES, NgStyle, FORM_DIRECTIVES } from 'angular2/common'; import { bootstrap } from 'angular2/platform/browser'; import { NgGrid, NgGridItem } from "./NgGrid"; @@ -72,4 +72,5 @@ class MyAppComponent { } } +enableProdMode(); bootstrap(MyAppComponent); \ No newline at end of file diff --git a/src/index.html b/src/index.html index 230746b..5c44f9d 100644 --- a/src/index.html +++ b/src/index.html @@ -5,6 +5,7 @@ + @@ -16,6 +17,9 @@ packages: { 'angular2': { defaultExtension: false + }, + 'rxjs': { + defaultExtension: false } } });