express-cdn
express-cdn copied to clipboard
Working with vars
'Walker' error on try to work with vars inside CDN
Figure out this simple scenario.
each destination in destinations
p= destination.name
!= CDN(destination.picture)
cool, right. But walker function read each jade file to check for CDN(
string and try to create a json file with all information.
fail in main.js:604 on try to do this results[i] = JSON.parse(results[i]);
of course destination.picture
is not a string.
what can we do then?
(why this work in this way by the way?)