hapticdata / toxiclibsjs

Toxiclibsjs is a library for computational design tasks with JavaScript. This library is a port of http://toxiclibs.org for java and processing.

Home Page:http://haptic-data.com/toxiclibsjs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

node + require.js v2+ - modules getting evaluated async

hapticdata opened this issue · comments

as referenced in #24 with require.js v2.0+ in node, the loaded modules are being added asynchronously causing a delay before the objects are available and making tests fail.

For the time being require.js is version-locked at 1.0 and continues to work. Another solution is needed for making the modules synchronously available in node. Perhaps using millermedeiros/nodefy

dependency updated and working correctly. Using require.js synchronously via node's require.