Skip to content

Commit

Permalink
Changed jquery support conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
rstaib committed Sep 2, 2014
1 parent 19f1fc5 commit b1916e6
Show file tree
Hide file tree
Showing 11 changed files with 18 additions and 204 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@
"steps.jquery.json"
],
"dependencies": {
"jquery": "1.10.2"
"jquery": "=>1.9.0"
}
}
6 changes: 6 additions & 0 deletions lib/jquery-1.10.2.min.js

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions lib/jquery-1.11.1.min.js

Large diffs are not rendered by default.

167 changes: 0 additions & 167 deletions lib/jquery-1.4.4.min.js

This file was deleted.

16 changes: 0 additions & 16 deletions lib/jquery-1.5.2.min.js

This file was deleted.

4 changes: 0 additions & 4 deletions lib/jquery-1.6.4.min.js

This file was deleted.

4 changes: 0 additions & 4 deletions lib/jquery-1.7.2.min.js

This file was deleted.

2 changes: 0 additions & 2 deletions lib/jquery-1.8.3.min.js

This file was deleted.

2 changes: 1 addition & 1 deletion steps.jquery.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@
"download": "http://www.jquery-steps.com",
"demo": "http://www.jquery-steps.com/Examples",
"dependencies": {
"jquery": ">=1.4.4"
"jquery": ">=1.9.0"
}
}
13 changes: 5 additions & 8 deletions test/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,9 @@ <h1 id="qunit-header">
<a href="http://rstaib.github.io/jquery-steps">jQuery Steps Plugin</a> Test Suite
</h1>
<div id="qunit-banner"></div>
<div id="qunit-testrunner-toolbar"><span>jQuery Versions: <input id="version-144" name="version" type="radio" value="1.4.4" /><label for="version-144">jQuery 1.4.4</label>
<input id="version-152" name="version" type="radio" value="1.5.2" /><label for="version-152">jQuery 1.5.2</label>
<input id="version-164" name="version" type="radio" value="1.6.4" /><label for="version-164">jQuery 1.6.4</label>
<input id="version-172" name="version" type="radio" value="1.7.2" /><label for="version-172">jQuery 1.7.2</label>
<input id="version-183" name="version" type="radio" value="1.8.3" /><label for="version-183">jQuery 1.8.3</label>
<input id="version-191" name="version" type="radio" value="1.9.1" /><label for="version-191">jQuery 1.9.1</label>
<div id="qunit-testrunner-toolbar"><span>jQuery Versions: <input id="version-191" name="version" type="radio" value="1.9.1" /><label for="version-191">jQuery 1.9.1</label>
<input id="version-1102" name="version" type="radio" value="1.10.2" /><label for="version-1102">jQuery 1.10.2</label>
<input id="version-1111" name="version" type="radio" value="1.11.1" /><label for="version-1111">jQuery 1.11.1</label>
<input id="version-latest" name="version" type="radio" value="latest" /><label for="version-latest">jQuery Latest (git)</label></span></div>
<h2 id="qunit-userAgent"></h2>
<ol id="qunit-tests"></ol>
Expand Down Expand Up @@ -71,9 +68,9 @@ <h1>contentModeWithStringArgument</h1>
location.href = "?version=" + $(this).val();
});

var versionPattern = /^[\?|\&]{1}version=(\d\.\d\.\d|latest)/,
var versionPattern = /^[\?|\&]{1}version=(\d{1,2}\.\d{1,2}\.\d{1,2}|latest)/,
version = versionPattern.exec(location.search),
defaultVersion = "1.9.1";
defaultVersion = "1.11.1";

if (version != null && version.length > 0)
{
Expand Down
2 changes: 1 addition & 1 deletion test/jquery.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{
var versionPattern = /^[\?|\&]{1}version=(\d\.\d\.\d|latest)&?$/,
version = versionPattern.exec(location.search),
defaultVersion = "1.9.1",
defaultVersion = "1.11.1",
file = "http://code.jquery.com/jquery-git.js";

if (version != null && version.length > 0)
Expand Down

0 comments on commit b1916e6

Please sign in to comment.