mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
chore(gulp): fix strip-debug task
This commit is contained in:
@@ -125,7 +125,7 @@ gulp.task('scripts', function() {
|
||||
|
||||
gulp.task('scripts-ng', function() {
|
||||
return gulp.src(buildConfig.angularIonicFiles)
|
||||
.pipe(gulpif(IS_RELEASE_BUILD, stripDebug()))
|
||||
// .pipe(gulpif(IS_RELEASE_BUILD, stripDebug()))
|
||||
.pipe(concat('ionic-angular.js'))
|
||||
.pipe(header(banner))
|
||||
.pipe(gulp.dest(buildConfig.distJs))
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
(function() {
|
||||
angular.module('ionic.ui.navAnimation', [])
|
||||
/**
|
||||
* @ngdoc directive
|
||||
@@ -39,3 +40,4 @@ angular.module('ionic.ui.navAnimation', [])
|
||||
}
|
||||
};
|
||||
});
|
||||
})();
|
||||
|
||||
2
js/ext/angular/src/directive/ionicRadio.js
vendored
2
js/ext/angular/src/directive/ionicRadio.js
vendored
@@ -101,7 +101,6 @@ angular.module('ionic.ui.radio', [])
|
||||
if(!ngModel || !radioButtons) { return; }
|
||||
|
||||
var setIt = function() {
|
||||
console.log('SET');
|
||||
$element.addClass('active');
|
||||
ngModel.$setViewValue($scope.$eval($attr.ngValue));
|
||||
|
||||
@@ -109,7 +108,6 @@ angular.module('ionic.ui.radio', [])
|
||||
};
|
||||
|
||||
var clickHandler = function(e) {
|
||||
console.log('CLICK');
|
||||
setIt();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user