express-cdn icon indicating copy to clipboard operation
express-cdn copied to clipboard

Working with vars

Open nathanredblur opened this issue 9 years ago • 0 comments

'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?)

nathanredblur avatar Jan 14 '16 00:01 nathanredblur