I use Coffeescript in my gulpfile and I would like to use an object declared in the same array but it doesn't work as I can see…
# SOURCES
src =
libs: [
"#{dir.libs}/jquery/dist/jquery.min.js"
"#{dir.libs}/gsap/src/uncompressed/TimelineLite.js"
"#{dir.libs}/gsap/src/uncompressed/easing/EasePack.js"
"#{dir.libs}/page.js/page.js"
"#{dir.libs}/swiper/build/js/swiper.js"
]
js: [
"#{dir.js}/site.js"
"#{dir.js}/functions.js"
"#{dir.js}/animations.js"
"#{dir.js}/init.js"
]
javascript: src.libs + src.js # this.libs + this.js is the same
It's returning NaN
Made it wrong? 🙈