Browse Source

jQuery 1.12.2/2.2.2 support. No API change.

Andy Li 9 years ago
parent
commit
70d17946ea
2 changed files with 2 additions and 2 deletions
  1. 1 1
      main.ml
  2. 1 1
      tests/unit/unit-js.html

+ 1 - 1
main.ml

@@ -1450,7 +1450,7 @@ try
 			"n"
 		| Js ->
 			if not (PMap.exists (fst (Define.infos Define.JqueryVer)) com.defines) then
-				Common.define_value com Define.JqueryVer "11201";
+				Common.define_value com Define.JqueryVer "11202";
 			add_std "js";
 			"js"
 		| Php ->

+ 1 - 1
tests/unit/unit-js.html

@@ -7,7 +7,7 @@
         <meta name="viewport" content="width=device-width, initial-scale=1">
     </head>
     <body id="haxe:trace">
-        <script type="text/javascript" src="//code.jquery.com/jquery-1.12.1.min.js"></script>
+        <script type="text/javascript" src="//code.jquery.com/jquery-1.12.2.min.js"></script>
         <script type="text/javascript">
             // http://stackoverflow.com/questions/11582512/how-to-get-url-parameters-with-javascript
             function getURLParameter(name) {