step forward

This commit is contained in:
Adam Bradley
2015-05-02 23:20:20 -05:00
parent a425061d90
commit aba2906b29
5 changed files with 35 additions and 19 deletions

View File

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