that whole nav overhaul thing again

This commit is contained in:
Adam Bradley
2015-05-28 10:19:28 -05:00
parent 2d8a6d9079
commit d827279a4f
36 changed files with 414 additions and 394 deletions

View File

@ -1,32 +1,11 @@
// HACKYFILLS (hack + polyfill)
import {NgElement, ViewContainerRef} 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() {
console.log('GETTING DOM ELEMENT');
return this._view.render.delegate.boundElements[this._boundElementIndex];
}
}
});
*/
Object.defineProperties(ViewContainerRef.prototype, {
domElement: {
get: function() {
return this._defaultProtoView.render.delegate.element;
}
}
});
// Object.defineProperties(ViewContainerRef.prototype, {
// domElement: {
// get: function() {
// return this._defaultProtoView.render.delegate.element;
// }
// }
// });
export * from 'ionic/components'
@ -43,5 +22,4 @@ export * from 'ionic/engine/electron/electron'
export * from 'ionic/animations/animation'
export * from 'ionic/transitions/transition'
export * from 'ionic/transitions/none-transition'
export * from 'ionic/transitions/ios-transition'