fraserxu / gulp-html2js

Gulp plugin for converting AngularJS templates to JavaScript
https://github.com/fraserxu/gulp-html2js
MIT License
38 stars 25 forks source link

Use of const in strict mode #15

Closed dv336699 closed 8 years ago

dv336699 commented 8 years ago

Looks like there is an minor issue with the code.

PR https://github.com/fraserxu/gulp-html2js/pull/16 OSX 10.11.3 node 0.12.10

.../node_modules/gulp-html2js/index.js:9
const PLUGIN_NAME = 'gulp-html2js';
^^^^^
SyntaxError: Use of const in strict mode.
    at exports.runInThisContext (vm.js:73:16)
    at Module._compile (module.js:443:25)
    at Object.Module._extensions..js (module.js:478:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
    at require (module.js:384:17)
    at Object.<anonymous> (/Users/diego/Qsync/Sites/pvi.dev/gulpfile.js:3:15)
    at Module._compile (module.js:460:26)
    at Object.Module._extensions..js (module.js:478:10)
[diego in MacBook-Pro at ~/Qsync/Sites/pvi.dev]