var gulp = require('gulp');
var uglify = require('gulp-uglify');
var gulpIf = require('gulp-if');
var jshint = require('gulp-jshint');
var rename = require('gulp-rename');
var sass = require('gulp-sass');
var livereload = require('gulp-livereload');
var ts = require('gulp-typescript');

gulp.task('minify', function() {
	gulp.src('./js/*.js')
    .pipe(uglify())
	.pipe(rename({
		suffix: '.min'
	}))
    .pipe(gulp.dest('./js/build/'))
    .pipe(livereload());
});

gulp.task('jsLint', function () {
	gulp.src('./js/*.js')
	.pipe(jshint())
	.pipe(jshint.reporter());
});

gulp.task('sass', function() {
	gulp.src('./css/*.scss')
	.pipe(sass())
	.pipe(gulp.dest('./css/'))
    .pipe(livereload());
});

gulp.task('typescript', function() {
	gulp.src('./typescript/*.ts')
	.pipe(ts({
		out: 'ts-script.js'
	}))
	.pipe(gulp.dest('./js/build'));
});

gulp.task('watch-js', function() {
	livereload.listen();
	gulp.watch(['./js/*.js', './css/*.scss'], ['minify', 'jsLint', 'sass']);
});
@@ -239,24 +239,26 @@
 vereload');%0A
+//
 var ts = req
@@ -691,32 +691,34 @@
 reload());%0A%7D);%0A%0A
+//
 gulp.task('types
@@ -730,32 +730,34 @@
 ', function() %7B%0A
+//
 %09gulp.src('./typ
@@ -767,24 +767,26 @@
 ript/*.ts')%0A
+//
 %09.pipe(ts(%7B%0A
@@ -785,16 +785,18 @@
 pe(ts(%7B%0A
+//
 %09%09out: '
@@ -809,21 +809,25 @@
 ipt.js'%0A
+//
 %09%7D))%0A
+//
 %09.pipe(g
@@ -847,24 +847,26 @@
 s/build'));%0A
+//
 %7D);%0A%0Agulp.ta

Comment out unused code