var angularJs = function () { return gulp.src('<%= paths.src %>/**/*.js') .pipe(gulp.jshint(config.jshint.jshintrc)) .pipe(gulp.jshint.reporter(config.jshint.reporters.dev)) .pipe(gulp.replace('\'use strict\';', '')) .pipe(gulp.sourcemaps.init()) .pipe(_concatenateAndUglify(config.pkg.name)); };
return function () { return gulp.src(src) .pipe(gulp.jshint()) .pipe(gulp.jshint.reporter(config.jshint.reporters[env || 'dev'])); };