Created
March 8, 2019 10:45
-
-
Save aseredenko/d1d82eb70c8f0f7b8830a024ce0cec2f to your computer and use it in GitHub Desktop.
This file contains hidden or 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