codesy / widgets

The codesy.io extensions for Chrome, Opera and Firefox
http://codesy.io
4 stars 4 forks source link

Promisy fun #110

Closed jdungan closed 7 years ago

jdungan commented 7 years ago

Another refactor to speed up load time. It work but comes with a recursive promise chain -- looking forward to a good discussion before merging.

groovecoder commented 7 years ago

Still getting errors during gulp ...

groovecoder:widgets lcrouch$ gulp workon-firefox-directory

/Users/lcrouch/code/codesy/widgets/gulpfile.js:44
javascript_src = function({source, destination}) {
                          ^
SyntaxError: Unexpected token {
    at Module._compile (module.js:439:25)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Liftoff.handleArguments (/usr/local/lib/node_modules/gulp/bin/gulp.js:116:3)
    at Liftoff.<anonymous> (/usr/local/lib/node_modules/gulp/node_modules/liftoff/index.js:181:16)
    at module.exports (/usr/local/lib/node_modules/gulp/node_modules/liftoff/node_modules/flagged-respawn/index.js:17:3)
    at Liftoff.<anonymous> (/usr/local/lib/node_modules/gulp/node_modules/liftoff/index.js:174:9)
groovecoder:widgets lcrouch$ gulp workon-chrome-directory

/Users/lcrouch/code/codesy/widgets/gulpfile.js:44
javascript_src = function({source, destination}) {
                          ^
SyntaxError: Unexpected token {
    at Module._compile (module.js:439:25)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Liftoff.handleArguments (/usr/local/lib/node_modules/gulp/bin/gulp.js:116:3)
    at Liftoff.<anonymous> (/usr/local/lib/node_modules/gulp/node_modules/liftoff/index.js:181:16)
    at module.exports (/usr/local/lib/node_modules/gulp/node_modules/liftoff/node_modules/flagged-respawn/index.js:17:3)
    at Liftoff.<anonymous> (/usr/local/lib/node_modules/gulp/node_modules/liftoff/index.js:174:9)
groovecoder:widgets lcrouch$
jdungan commented 7 years ago

hmm? gulp workon-chrome-directory is working for me.