Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

Re : How to import FastClick as CJS with stealjs

$
0
0
Steal does not support UMD or more specifically "define" not wrapping the entire body of code.  Fastclick is UMD.  Treat anything UMD as a global and it works.

The fix to this is having SystemJS parse define calls instead of calling the function.  


Viewing all articles
Browse latest Browse all 3491

Trending Articles