Created
March 8, 2019 10:45
-
-
Save aseredenko/c138f10e282ae07bee00d302929a7b41 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Preloading images --> | |
<script> | |
var images = []; | |
function preload() { | |
for (var i = 0; i < arguments.length; i++) { | |
images[i] = new Image(); | |
images[i].src = preload.arguments[i]; | |
} | |
} | |
preload( | |
"{{ASSETS_DIR}}/img/icons/bubble.svg", | |
"{{ASSETS_DIR}}/img/rooferform.png" | |
) | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment