3 ms·
Would the standard local js fallback pattern solve this? <script>window.jQuery || document.write('<script src="js/jquery-2.0.0.min.js">\x3C/script>')</script>
by 0x0 12y ago
Would the standard local js fallback pattern solve this?
<script>window.jQuery || document.write('<script src="js/jquery-2.0.0.min.js">\x3C/script>')</script>
- gprasanth 12y agoIndeed! it's shipped as standard in html5 boilerplate code https://github.com/h5bp/html5-boilerplate/blob/c3a72ff882104a1abc6ed05f5ca3eabb11c08a51/index.html#L25 https://github.com/h5bp/html5-boilerplate/blob/c3a72ff882104...
- deleted 12y ago[deleted]