filename updates

This commit is contained in:
Adam Bradley
2013-10-01 09:57:49 -05:00
parent c7b96cb52d
commit 7386f3f468
6 changed files with 40 additions and 32 deletions

View File

@ -9,32 +9,38 @@ module.exports = function(grunt) {
},
dist: {
src: [
'js/ionic.js',
'js/platform.js',
'js/utils.js',
'js/events.js',
'js/gestures.js',
'js/animate.js',
'js/viewController.js',
'js/views/navBar.js',
'js/views/headerBar.js',
'js/views/tabBar.js',
'js/views/sideMenu.js',
'js/views/navBarView.js',
'js/views/headerBarView.js',
'js/views/sideMenuView.js',
'js/views/tabBarView.js',
'js/views/toggleView.js',
'js/controllers/**/*.js',
'js/tapPolyfill.js'
],
dest: 'dist/<%= pkg.name %>.js'
},
distAngular: {
src: [
'ext/angular/src/*.js'
'js/ext/angular/src/*.js'
],
dest: 'dist/<%= pkg.name %>-angular.js'
},
distSimple: {
src: [
'ext/simple/*.js'
'js/ext/simple/*.js'
],
dest: 'dist/<%= pkg.name %>-simple.js'
}

53
dist/ionic.js vendored
View File

@ -1712,7 +1712,8 @@ window.ionic = {
};
})(ionic);
;(function(ionic) {
;
(function(ionic) {
ionic.views.HeaderBar = function(opts) {
this.el = opts.el;
@ -1738,6 +1739,31 @@ window.ionic = {
}
};
})(ionic);
;
(function(ionic) {
ionic.views.SideMenu = function(opts) {
this.el = opts.el;
this.width = opts.width;
this.isEnabled = opts.isEnabled || true;
};
ionic.views.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;
}
};
})(ionic);
;(function(ionic) {
@ -1941,31 +1967,6 @@ ionic.views.TabBar.prototype = {
})(window.ionic);
;
(function(ionic) {
ionic.views.SideMenu = function(opts) {
this.el = opts.el;
this.width = opts.width;
this.isEnabled = opts.isEnabled || true;
};
ionic.views.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;
}
};
})(ionic);
;
(function(ionic) {
ionic.views.Toggle = function(opts) {

View File

@ -1,3 +1,4 @@
(function(ionic) {
ionic.views.HeaderBar = function(opts) {