Skip to content

Commit

Permalink
chore(travis): remove console.log from *all* ionic js files
Browse files Browse the repository at this point in the history
Closes #586
  • Loading branch information
ajoslin committed Feb 13, 2014
1 parent 80ee6c2 commit 0c52fd2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
13 changes: 7 additions & 6 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,14 @@ module.exports = function(grunt) {

'removelogging': {
dist: {
files: {
'dist/js/ionic.js': 'dist/js/ionic.js',
'dist/js/ionic.bundle.js': 'dist/js/ionic.bundle.js',
'dist/js/ionic-angular.js': 'dist/js/ionic-angular.js'
},
files: [{
expand: true,
cwd: 'dist/js/',
src: ['*.js'],
dest: '.'
}],
options: {
methods: 'log assert count clear group groupEnd groupCollapsed trace debug dir dirxml profile profileEnd time timeEnd timeStamp table exception'.split(' ')
methods: 'log info assert count clear group groupEnd groupCollapsed trace debug dir dirxml profile profileEnd time timeEnd timeStamp table exception'.split(' ')
}
}
},
Expand Down
3 changes: 1 addition & 2 deletions js/utils/keyboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ function androidKeyboardFix() {
if (rememberedDeviceWidth !== window.innerWidth) {
rememberedDeviceWidth = window.innerWidth;
rememberedDeviceHeight = window.innerHeight;
console.info('orientation change. deviceWidth =', rememberedDeviceWidth,
', deviceHeight =', rememberedDeviceHeight);
console.info('orientation change. deviceWidth =', rememberedDeviceWidth, ', deviceHeight =', rememberedDeviceHeight);

//If the height changes, and it's less than before, we have a keyboard open
} else if (rememberedDeviceHeight !== window.innerHeight &&
Expand Down

0 comments on commit 0c52fd2

Please sign in to comment.