Skip to content

Commit

Permalink
Remove ES6 accidental.
Browse files Browse the repository at this point in the history
  • Loading branch information
nataliethistime authored and icydee committed Feb 8, 2016
1 parent 67dac77 commit e0d4553
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion Gulpfile.js
Expand Up @@ -8,6 +8,7 @@ var source = require('vinyl-source-stream');
var cssConcat = require('gulp-concat-css');
var cssMin = require('gulp-minify-css');
var gulp = require('gulp');
var gulpUtil = require('gulp-util')
var rename = require('gulp-rename');
var uglify = require('gulp-uglify');

Expand Down Expand Up @@ -77,7 +78,7 @@ gulp.task('cssify', ['browserify'], function() {

gulp.task('minify-js', ['browserify', 'cssify'], function() {
var stream = gulp.src('./lacuna/load.js')
.pipe(uglify())
.pipe(uglify().on('error', gulpUtil.log))
.pipe(rename({
extname: '.min.js'
}))
Expand Down
4 changes: 2 additions & 2 deletions app/js/components/window/sitters.jsx
Expand Up @@ -28,15 +28,15 @@ var AuthorizeEmpires = React.createClass({
},

authorizeAlliance: function() {
let value = this.refs.alliance.getDOMNode().value;
var value = this.refs.alliance.getDOMNode().value;

if (confirm('Are you sure you want to authorize all members of ' + value + '?')) {
SittersActions.authorizeAlliance(value);
}
},

authorizeEmpire: function() {
let value = this.refs.empire.getDOMNode().value;
var value = this.refs.empire.getDOMNode().value;

if (confirm('Are you sure you want to authorize ' + value + '?')) {
SittersActions.authorizeEmpire(value);
Expand Down
3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -42,6 +42,7 @@
},
"devDependencies": {
"bower": "^1.6.5",
"debowerify": "^1.3.1"
"debowerify": "^1.3.1",
"gulp-util": "3.0.7"
}
}

0 comments on commit e0d4553

Please sign in to comment.