Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Change the way library JS files are loaded

I think this will help with IE loading things funny.
  • Loading branch information...
commit 379bcef4656c648d7a39bd1f7a14b2b9aa331200 1 parent 9fc6b2f
@mythmon mythmon authored
Showing with 3 additions and 6 deletions.
  1. +2 −5 web/index.html
  2. +1 −1  web/js/board.js
View
7 web/index.html
@@ -3,11 +3,8 @@
<html>
<head>
- <script type="text/javascript" src="https://www.google.com/jsapi"></script>
- <script type="text/javascript">
- google.load("jquery", "1.7.0", {uncompressed:true});
- google.load("jqueryui", "1.8.16", {uncompressed:true});
- </script>
+ <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js"></script>
+
<!--[if IE]><script type="text/javascript" src="excanvas.js"></script><![endif]-->
<script type="text/javascript" src="/js/json2.js" charset="utf-8"></script>
<script type="text/javascript" src="/js/functions.js" charset="utf-8"></script>
View
2  web/js/board.js
@@ -1,5 +1,5 @@
/* Main */
-$(function() {
+$(function main() {
var b = new Board();
var t = new MoveTool(b);
Please sign in to comment.
Something went wrong with that request. Please try again.