diff --git a/build/tasks/build.js b/build/tasks/build.js index 408cea9c..46fc4dfa 100644 --- a/build/tasks/build.js +++ b/build/tasks/build.js @@ -43,14 +43,14 @@ gulp.task('inlineTemplates', ['sass'], function() { var JS_DEV_DEPS = [ 'lib/utils/browser-update.js', - 'node_modules/zone.js/dist/zone-microtask.js', + 'node_modules/zone.js/dist/zone.js', 'node_modules/reflect-metadata/Reflect.js', 'node_modules/babel-polyfill/dist/polyfill.js' ]; var JS_DEV_DEPS_MIN = [ 'lib/utils/browser-update.js', - 'node_modules/zone.js/dist/zone-microtask.min.js', + 'node_modules/zone.js/dist/zone.min.js', 'node_modules/reflect-metadata/Reflect.js', 'node_modules/babel-polyfill/dist/polyfill.min.js' ] diff --git a/karma.conf.js b/karma.conf.js index 9d1d480d..bf73baac 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -45,9 +45,9 @@ module.exports = function (config) { }, //load angular dependencies and browser polyfills files: [ - 'node_modules/zone.js/dist/zone-microtask.js', - 'node_modules/zone.js/dist/long-stack-trace-zone.js', + 'node_modules/zone.js/dist/zone.js', 'node_modules/zone.js/dist/jasmine-patch.js', + 'node_modules/zone.js/dist/long-stack-trace-zone.js', 'node_modules/babel-polyfill/dist/polyfill.js', './node_modules/reflect-metadata/Reflect.js' ], diff --git a/lib/common/components/StickySidebar/sticky-sidebar.spec.js b/lib/common/components/StickySidebar/sticky-sidebar.spec.js index d77ea9eb..08cfe33c 100644 --- a/lib/common/components/StickySidebar/sticky-sidebar.spec.js +++ b/lib/common/components/StickySidebar/sticky-sidebar.spec.js @@ -1,7 +1,7 @@ 'use strict'; import { getChildDebugElementByType } from 'tests/helpers'; -import {Component, View, provide} from 'angular2/core'; +import {Component, provide} from 'angular2/core'; import {BrowserDomAdapter} from 'angular2/platform/browser'; import { @@ -60,8 +60,8 @@ describe('Common components', () => { /** Test component that contains an ApiInfo. */ -@Component({selector: 'test-app'}) -@View({ +@Component({ + selector: 'test-app', directives: [StickySidebar], template: `
diff --git a/lib/common/components/Tabs/tabs.js b/lib/common/components/Tabs/tabs.js index 44a6e8d9..d869df20 100644 --- a/lib/common/components/Tabs/tabs.js +++ b/lib/common/components/Tabs/tabs.js @@ -1,13 +1,11 @@ 'use strict'; -import {Component, View, EventEmitter} from 'angular2/core'; +import {Component, EventEmitter} from 'angular2/core'; import {CORE_DIRECTIVES} from 'angular2/common'; @Component({ selector: 'tabs', - events: ['change'] -}) -@View({ + events: ['change'], template: `