update to angular 2.0.0-alpha.21, update toolbar system

This commit is contained in:
Andrew Joslin
2015-04-30 10:54:46 -06:00
parent 2715e50988
commit 8a42dde132
24 changed files with 651 additions and 344 deletions

View File

@@ -1,4 +1,5 @@
import {NgElement} from 'angular2/angular2'
// HACKYFILLS (hack + polyfill)
import {NgElement, ViewContainerRef} from 'angular2/angular2'
Object.defineProperties(NgElement.prototype, {
domElement: {
get: function() {
@@ -7,6 +8,14 @@ Object.defineProperties(NgElement.prototype, {
}
});
Object.defineProperties(ViewContainerRef.prototype, {
domElement: {
get: function() {
return this._defaultProtoView.render.delegate.element;
}
}
});
export * from 'ionic/components'
export * from 'ionic/platform/platform'
export * from 'ionic/routing/router'