Moved hacking controllers and views

They are now official files.
This commit is contained in:
Max Lynch
2013-09-22 23:51:49 -05:00
parent 6cf5797f4e
commit 86f3efde15
9 changed files with 0 additions and 127 deletions

22
js/views/sideMenu.js Normal file
View File

@ -0,0 +1,22 @@
(function(window, document, ionic) {
SideMenu = function(opts) {
this.el = opts.el;
this.width = opts.width;
this.isEnabled = opts.isEnabled || true;
};
SideMenu.prototype = {
getFullWidth: function() {
return this.width;
},
setIsEnabled: function(isEnabled) {
this.isEnabled = isEnabled;
},
bringUp: function() {
this.el.style.zIndex = 0;
},
pushDown: function() {
this.el.style.zIndex = -1;
}
};
})(this, document, ion = this.ionic || {});