Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

issue #69: added jquery tests for version 1.4.2 up to and including 1…

….6.1
  • Loading branch information...
commit 373443ae0963e35fb96e0647259cf4725df879a0 1 parent 47ce922
@csolar csolar authored
View
21 test/test-jquery-compatibility/test-jquery-1.4.3.html
@@ -0,0 +1,21 @@
+<html>
+<head>
+ <meta charset="utf-8">
+ <title>Sqwidget JQuery 1.4.3 Tests</title>
+ <link rel="stylesheet" href="../lib/mocha.css" />
+ <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.min.js" ></script>
+</head>
+<body>
+ <div id="mocha"></div>
+ <script src="../../sqwidget.js"></script>
+ <div data-sqwidget="src:../../tutorials/templates.html"></div>
+ <script src="http://chaijs.com/chai.js" type="text/javascript"></script>
+ <script src="../lib/mocha.js"></script>
+ <script>mocha.setup('bdd')</script>
+ <script>window.jqueryVersion = "1.4.3"</script>
+ <script src="test-jquery-from-page.js"></script>
+ <script>
+ mocha.globals(['clone']).run();
+ </script>
+</body>
+</html>
View
21 test/test-jquery-compatibility/test-jquery-1.4.4.html
@@ -0,0 +1,21 @@
+<html>
+<head>
+ <meta charset="utf-8">
+ <title>Sqwidget JQuery 1.4.4 Tests</title>
+ <link rel="stylesheet" href="../lib/mocha.css" />
+ <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js" ></script>
+</head>
+<body>
+ <div id="mocha"></div>
+ <script src="../../sqwidget.js"></script>
+ <div data-sqwidget="src:../../tutorials/templates.html"></div>
+ <script src="http://chaijs.com/chai.js" type="text/javascript"></script>
+ <script src="../lib/mocha.js"></script>
+ <script>mocha.setup('bdd')</script>
+ <script>window.jqueryVersion = "1.4.4"</script>
+ <script src="test-jquery-from-page.js"></script>
+ <script>
+ mocha.run();
+ </script>
+</body>
+</html>
View
21 test/test-jquery-compatibility/test-jquery-1.5.0.html
@@ -0,0 +1,21 @@
+<html>
+<head>
+ <meta charset="utf-8">
+ <title>Sqwidget JQuery 1.5.0 Tests</title>
+ <link rel="stylesheet" href="../lib/mocha.css" />
+ <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.0/jquery.min.js" ></script>
+</head>
+<body>
+ <div id="mocha"></div>
+ <script src="../../sqwidget.js"></script>
+ <div data-sqwidget="src:../../tutorials/templates.html"></div>
+ <script src="http://chaijs.com/chai.js" type="text/javascript"></script>
+ <script src="../lib/mocha.js"></script>
+ <script>mocha.setup('bdd')</script>
+ <script>window.jqueryVersion = "1.5"</script>
+ <script src="test-jquery-from-page.js"></script>
+ <script>
+ mocha.globals(['jQuery*']).run();
+ </script>
+</body>
+</html>
View
21 test/test-jquery-compatibility/test-jquery-1.5.1.html
@@ -0,0 +1,21 @@
+<html>
+<head>
+ <meta charset="utf-8">
+ <title>Sqwidget JQuery 1.5.1 Tests</title>
+ <link rel="stylesheet" href="../lib/mocha.css" />
+ <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js" ></script>
+</head>
+<body>
+ <div id="mocha"></div>
+ <script src="../../sqwidget.js"></script>
+ <div data-sqwidget="src:../../tutorials/templates.html"></div>
+ <script src="http://chaijs.com/chai.js" type="text/javascript"></script>
+ <script src="../lib/mocha.js"></script>
+ <script>mocha.setup('bdd')</script>
+ <script>window.jqueryVersion = "1.5.1"</script>
+ <script src="test-jquery-from-page.js"></script>
+ <script>
+ mocha.globals(['jQuery*']).run();
+ </script>
+</body>
+</html>
View
21 test/test-jquery-compatibility/test-jquery-1.5.2.html
@@ -0,0 +1,21 @@
+<html>
+<head>
+ <meta charset="utf-8">
+ <title>Sqwidget JQuery 1.5.2 Tests</title>
+ <link rel="stylesheet" href="../lib/mocha.css" />
+ <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js" ></script>
+</head>
+<body>
+ <div id="mocha"></div>
+ <script src="../../sqwidget.js"></script>
+ <div data-sqwidget="src:../../tutorials/templates.html"></div>
+ <script src="http://chaijs.com/chai.js" type="text/javascript"></script>
+ <script src="../lib/mocha.js"></script>
+ <script>mocha.setup('bdd')</script>
+ <script>window.jqueryVersion = "1.5.2"</script>
+ <script src="test-jquery-from-page.js"></script>
+ <script>
+ mocha.globals(['jQuery*']).run();
+ </script>
+</body>
+</html>
View
21 test/test-jquery-compatibility/test-jquery-1.6.0.html
@@ -0,0 +1,21 @@
+<html>
+<head>
+ <meta charset="utf-8">
+ <title>Sqwidget JQuery 1.6.0 Tests</title>
+ <link rel="stylesheet" href="../lib/mocha.css" />
+ <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.0/jquery.min.js" ></script>
+</head>
+<body>
+ <div id="mocha"></div>
+ <script src="../../sqwidget.js"></script>
+ <div data-sqwidget="src:../../tutorials/templates.html"></div>
+ <script src="http://chaijs.com/chai.js" type="text/javascript"></script>
+ <script src="../lib/mocha.js"></script>
+ <script>mocha.setup('bdd')</script>
+ <script>window.jqueryVersion = "1.6"</script>
+ <script src="test-jquery-from-page.js"></script>
+ <script>
+ mocha.run();
+ </script>
+</body>
+</html>
View
21 test/test-jquery-compatibility/test-jquery-1.6.1.html
@@ -0,0 +1,21 @@
+<html>
+<head>
+ <meta charset="utf-8">
+ <title>Sqwidget JQuery 1.6.1 Tests</title>
+ <link rel="stylesheet" href="../lib/mocha.css" />
+ <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js" ></script>
+</head>
+<body>
+ <div id="mocha"></div>
+ <script src="../../sqwidget.js"></script>
+ <div data-sqwidget="src:../../tutorials/templates.html"></div>
+ <script src="http://chaijs.com/chai.js" type="text/javascript"></script>
+ <script src="../lib/mocha.js"></script>
+ <script>mocha.setup('bdd')</script>
+ <script>window.jqueryVersion = "1.6.1"</script>
+ <script src="test-jquery-from-page.js"></script>
+ <script>
+ mocha.run();
+ </script>
+</body>
+</html>
Please sign in to comment.
Something went wrong with that request. Please try again.