mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Replace $LAB with path aware loadScript that uses jQuery
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user