tnwinc / Isolate

Isolate is a tool to allow injection of module dependencies when doing Test Driven Javascript/Coffeescript development.
44 stars 3 forks source link

Error "Failed to generate fake for module..." when "data-main" is used on <script> #5

Open srigi opened 11 years ago

srigi commented 11 years ago

This plugin is great, but it stops working when require.js app is bootstraped by data-main attribute of <script src="require.js"> tag. I can provide minimal example demonstrating issue, just ask.

I compiled isolate.coffe with coffee console command (v1.6.3) like this:

coffee -c -b -o src/vendor/isolate/src src/vendor/isolate/src/isolate.coffee