Replace $LAB with path aware loadScript that uses jQuery

This commit is contained in:
Robin Ward
2015-03-09 12:49:11 -04:00
parent fb726cfa0c
commit de4e4f2b98
17 changed files with 110 additions and 141 deletions

View File

@@ -1,9 +1,7 @@
<script>
window.assetPath = (function(){
var map = <%= deferred_scripts %>;
return function(asset){ return map[asset]; };
return function(asset) { return map[asset]; };
})();
</script>