This commit is contained in:
Max Lynch
2015-05-04 11:29:36 -05:00
parent 631cf190a9
commit 280ee999f0
5 changed files with 56 additions and 3 deletions

View File

@ -1,6 +1,16 @@
// HACKYFILLS (hack + polyfill)
import {NgElement, ViewContainer} from 'angular2/angular2'
//import {DomRenderedElement} from 'ionic/util/render/dom';
Object.defineProperties(NgElement.prototype, {
/*
renderElement: {
get: function() {
return new DomRenderedElement(this._view.render.delegate.boundElements[this._boundElementIndex]);
}
},
*/
domElement: {
get: function() {
return this._view.render.delegate.boundElements[this._boundElementIndex];
@ -8,6 +18,7 @@ Object.defineProperties(NgElement.prototype, {
}
});
/*
Object.defineProperties(ViewContainer.prototype, {
domElement: {
get: function() {
@ -15,6 +26,7 @@ Object.defineProperties(ViewContainer.prototype, {
}
}
});
*/
export * from 'ionic/components'
export * from 'ionic/platform/platform'