Skip to content

Commit

Permalink
Get rid of ES6 string template
Browse files Browse the repository at this point in the history
No I just can't use ES6 features because babel-ized scripts gives me strange errors!
  • Loading branch information
fhfuih committed Sep 27, 2018
1 parent 3e75601 commit a5d91a0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion gulpfile.babel.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ export const styles = () => gulp

export const scripts = () => gulp
.src(paths.scripts, { sourcemaps: true })
// .pipe(babel())
.pipe(uglifyJS())
.pipe(gulp.dest(paths.dest))

Expand Down
2 changes: 1 addition & 1 deletion src/popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ function updateCourseDots() {
}
function updateOptionCircle() {
$(".option-color-circle").removeClass("active");
$('.option-color-circle[data-color="${selectedColor}"]').addClass("active");
$('.option-color-circle[data-color="' + selectedColor + '"]').addClass("active");
}

function makeOptions() {
Expand Down

0 comments on commit a5d91a0

Please sign in to comment.