Skip to content
This repository has been archived by the owner on Mar 5, 2024. It is now read-only.

Commit

Permalink
Update to angular2 beta 0
Browse files Browse the repository at this point in the history
  • Loading branch information
BTMorton committed Dec 23, 2015
1 parent 02221df commit d6119ee
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
3 changes: 2 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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": {}
}
3 changes: 2 additions & 1 deletion src/app.ts
Original file line number Diff line number Diff line change
@@ -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";
Expand Down Expand Up @@ -72,4 +72,5 @@ class MyAppComponent {
}
}

enableProdMode();
bootstrap(MyAppComponent);
4 changes: 4 additions & 0 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<link rel="stylesheet" href="lib/bootstrap.min.css" />
<script src="lib/es6-shim.min.js"></script>
<script src="lib/system.js"></script>
<script src="lib/Reflect.js"></script>
<script src="lib/angular2.min.js"></script>
</head>
<body>
Expand All @@ -16,6 +17,9 @@
packages: {
'angular2': {
defaultExtension: false
},
'rxjs': {
defaultExtension: false
}
}
});
Expand Down

0 comments on commit d6119ee

Please sign in to comment.