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

Re : Steal instantiated (preventing CSS from loading)

$
0
0
You have to put the full and final module name, that's why !$css.  You can also provide the module value.  CSS modules have no module value, that's why you just write null.

You could use this to add jQuery if it was already on the page like:


<script src='jquery.js></script>
<script>
  steal = {instantiated: {jquery: jQuery} }
</script>
<script src='../steal/steal.js'></script>

Viewing all articles
Browse latest Browse all 3491

Trending Articles