Commit 6e643eb0 authored by François Billioud's avatar François Billioud

fix some issues on dependencies loading

parent 9868b256
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
"/unhosted/jquery.js", "/unhosted/jquery.js",
"/unhosted/base64.js" "/unhosted/base64.js"
],function() {// return true only if dependencies are loaded ],function() {// return true only if dependencies are loaded
return $!==undefined && sjcl!==undefined && Base64!==undefined; // check jQuery, sjcl & Base64 return (window.$ && window.sjcl && window.Base64) // check jQuery, sjcl & Base64
}); });
/** /**
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
<head> <head>
<title></title> <title></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript"> <script type="text/javascript">
function register() { function register() {
//remember the user //remember the user
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment