Last active
December 16, 2015 18:38
-
-
Save csdy/5478653 to your computer and use it in GitHub Desktop.
Disable LESS.js caching
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
<!-- CLIENT-SIDE SCRIPTS: BEGIN --> | |
<script> | |
var less = { | |
env: "development" | |
} | |
</script> | |
<script src="//cdnjs.cloudflare.com/ajax/libs/less.js/1.4.1/less.min.js"></script> | |
<script>window.less || document.write('<script src="/js/vendor/less-1.4.1.min.js"><\x3C/script>')</script> | |
<!-- CLIENT-SIDE SCRIPTS: CLOSE --> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Notice the LESS environment declaration BEFORE including less.