2
0

Remove externals.

This commit is contained in:
Maarten Billemont 2018-02-08 12:31:31 -05:00
parent 9db855c7fb
commit e91f80d10e
2 changed files with 4 additions and 4 deletions

View File

@ -61,10 +61,9 @@
</footer>
<!-- Scripts -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script>document.write('<script src="js/vendor/jquery-2.1.1.min.js"><\/script>')</script>
<script>window.jQuery || document.write('<script src="js/vendor/jquery-2.1.1.js"><\/script>')</script>
<script>window.jQuery || document.write('<script src="js/vendor/jquery-2.1.1.min.js"><\/script>')</script>
<script src="js/dependencies.js?3"></script>
<script src="js/dependencies.js?4"></script>
<script src="js/main.js?3"></script>
</body>

View File

@ -16,11 +16,12 @@ if ((!window.crypto || !window.crypto.subtle) && window.SubtleCrypto)
// If Web Crypto API is not supported we include a JS crypto library
// https://code.google.com/p/crypto-js/
/* Disabled by default. Enable manually if your browser requires this.
if (!window.crypto || !window.crypto.subtle) {
document.write("<script src=https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.1.2/rollups/hmac-sha256.js><\/script>");
document.write("<script src=https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.1.2/rollups/pbkdf2.js><\/script>");
document.write("<script src=https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.1.2/components/lib-typedarrays-min.js><\/script>");
}
}/**/
if (!Number.MAX_SAFE_INTEGER)
Number.MAX_SAFE_INTEGER = Math.pow(2, 53) - 1;