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: { dist: {
src: [ src: [
'js/ionic.js', 'js/ionic.js',
'js/platform.js', 'js/platform.js',
'js/utils.js', 'js/utils.js',
'js/events.js', 'js/events.js',
'js/gestures.js', 'js/gestures.js',
'js/animate.js', 'js/animate.js',
'js/viewController.js', 'js/viewController.js',
'js/views/navBar.js',
'js/views/headerBar.js', 'js/views/navBarView.js',
'js/views/tabBar.js', 'js/views/headerBarView.js',
'js/views/sideMenu.js', 'js/views/sideMenuView.js',
'js/views/tabBarView.js',
'js/views/toggleView.js', 'js/views/toggleView.js',
'js/controllers/**/*.js', 'js/controllers/**/*.js',
'js/tapPolyfill.js' 'js/tapPolyfill.js'
], ],
dest: 'dist/<%= pkg.name %>.js' dest: 'dist/<%= pkg.name %>.js'
}, },
distAngular: { distAngular: {
src: [ src: [
'ext/angular/src/*.js' 'js/ext/angular/src/*.js'
], ],
dest: 'dist/<%= pkg.name %>-angular.js' dest: 'dist/<%= pkg.name %>-angular.js'
}, },
distSimple: { distSimple: {
src: [ src: [
'ext/simple/*.js' 'js/ext/simple/*.js'
], ],
dest: 'dist/<%= pkg.name %>-simple.js' dest: 'dist/<%= pkg.name %>-simple.js'
} }

53
dist/ionic.js vendored
View File

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

View File

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