Skip to content

Commit bef0cfe

Browse files
committed
chore(gulp): fix strip-debug task
1 parent b1ba0bf commit bef0cfe

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

gulpfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ gulp.task('scripts', function() {
125125

126126
gulp.task('scripts-ng', function() {
127127
return gulp.src(buildConfig.angularIonicFiles)
128-
.pipe(gulpif(IS_RELEASE_BUILD, stripDebug()))
128+
// .pipe(gulpif(IS_RELEASE_BUILD, stripDebug()))
129129
.pipe(concat('ionic-angular.js'))
130130
.pipe(header(banner))
131131
.pipe(gulp.dest(buildConfig.distJs))

js/ext/angular/src/directive/ionicNavAnimation.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
(function() {
12
angular.module('ionic.ui.navAnimation', [])
23
/**
34
* @ngdoc directive
@@ -39,3 +40,4 @@ angular.module('ionic.ui.navAnimation', [])
3940
}
4041
};
4142
});
43+
})();

js/ext/angular/src/directive/ionicRadio.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,15 +101,13 @@ angular.module('ionic.ui.radio', [])
101101
if(!ngModel || !radioButtons) { return; }
102102

103103
var setIt = function() {
104-
console.log('SET');
105104
$element.addClass('active');
106105
ngModel.$setViewValue($scope.$eval($attr.ngValue));
107106

108107
radioButtons.select($element);
109108
};
110109

111110
var clickHandler = function(e) {
112-
console.log('CLICK');
113111
setIt();
114112
};
115113

0 commit comments

Comments
 (0)