-
Notifications
You must be signed in to change notification settings - Fork 329
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# This is a combination of 2 commits.
# The first commit's message is: Add tests for #310. Fixes #311 # This is the 2nd commit message: Get Travis to build with Firefox
- Loading branch information
Showing
6 changed files
with
148 additions
and
133 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
language: node_js | ||
before_install: | ||
- "export DISPLAY=:99.0" | ||
- "sh -e /etc/init.d/xvfb start" | ||
node_js: | ||
- "0.10" |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,131 +1,131 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>DropKick tests</title> | ||
<link rel="stylesheet" href="qunit-1.14.0.css"> | ||
</head> | ||
<body> | ||
<div id="qunit"></div> | ||
<div id="qunit-fixture"> | ||
<button id="btn">Open</button> | ||
<select id="normal_select"> | ||
<option disabled selected class="hidden-option">Choose One</option> | ||
<option value="AL">Alabama</option> | ||
<option value="AK">Alaska</option> | ||
<option value="AZ">Arizona</option> | ||
<option value="AR">Arkansas</option> | ||
<option value="CA">California</option> | ||
<option value="CO">Colorado</option> | ||
<option value="CT">Connecticut</option> | ||
<option value="DE">Delaware</option> | ||
<option value="DC">District Of Columbia</option> | ||
<option value="FL">Florida</option> | ||
<option value="GA">Georgia</option> | ||
<option value="HI">Hawaii</option> | ||
<option value="ID">Idaho</option> | ||
<option value="IL">Illinois</option> | ||
<option value="IN">Indiana</option> | ||
<option value="IA">Iowa</option> | ||
<option value="KS">Kansas</option> | ||
<option value="KY">Kentucky</option> | ||
<option value="LA">Louisiana</option> | ||
<option value="ME">Maine</option> | ||
<option value="MD">Maryland</option> | ||
<option value="MA">Massachusetts</option> | ||
<option value="MI">Michigan</option> | ||
<option value="MN">Minnesota</option> | ||
<option value="MS">Mississippi</option> | ||
<option value="MO">Missouri</option> | ||
<option value="MT">Montana</option> | ||
<option value="NE">Nebraska</option> | ||
<option value="NV">Nevada</option> | ||
<option value="NH">New Hampshire</option> | ||
<option value="NJ">New Jersey</option> | ||
<option value="NM">New Mexico</option> | ||
<option value="NY">New York</option> | ||
<option value="NC">North Carolina</option> | ||
<option value="ND">North Dakota</option> | ||
<option value="OH">Ohio</option> | ||
<option value="OK">Oklahoma</option> | ||
<option value="OR">Oregon</option> | ||
<option value="PA">Pennsylvania</option> | ||
<option value="RI">Rhode Island</option> | ||
<option value="SC">South Carolina</option> | ||
<option value="SD">South Dakota</option> | ||
<option value="TN">Tennessee</option> | ||
<option value="TX">Texas</option> | ||
<option value="UT">Utah</option> | ||
<option value="VT">Vermont</option> | ||
<option value="VA">Virginia</option> | ||
<option value="WA">Washington</option> | ||
<option value="WV">West Virginia</option> | ||
<option value="WI">Wisconsin</option> | ||
<option value="WY">Wyoming</option> | ||
</select> | ||
<select multiple id="multiple"> | ||
<option value="AL">Alabama</option> | ||
<option value="AK">Alaska</option> | ||
<option value="AZ">Arizona</option> | ||
<option value="AR">Arkansas</option> | ||
<option value="CA">California</option> | ||
<option value="CO">Colorado</option> | ||
<option value="CT">Connecticut</option> | ||
<option value="DE">Delaware</option> | ||
<option value="DC">District Of Columbia</option> | ||
<option value="FL">Florida</option> | ||
<option value="GA">Georgia</option> | ||
<option value="HI">Hawaii</option> | ||
<option value="ID">Idaho</option> | ||
<option value="IL">Illinois</option> | ||
<option value="IN">Indiana</option> | ||
<option value="IA">Iowa</option> | ||
<option value="KS">Kansas</option> | ||
<option value="KY">Kentucky</option> | ||
<option value="LA">Louisiana</option> | ||
<option value="ME">Maine</option> | ||
<option value="MD">Maryland</option> | ||
<option value="MA">Massachusetts</option> | ||
<option value="MI">Michigan</option> | ||
<option value="MN">Minnesota</option> | ||
<option value="MS">Mississippi</option> | ||
<option value="MO">Missouri</option> | ||
<option value="MT">Montana</option> | ||
<option value="NE">Nebraska</option> | ||
<option value="NV">Nevada</option> | ||
<option value="NH">New Hampshire</option> | ||
<option value="NJ">New Jersey</option> | ||
<option value="NM">New Mexico</option> | ||
<option value="NY">New York</option> | ||
<option value="NC">North Carolina</option> | ||
<option value="ND">North Dakota</option> | ||
<option value="OH">Ohio</option> | ||
<option value="OK">Oklahoma</option> | ||
<option value="OR">Oregon</option> | ||
<option value="PA">Pennsylvania</option> | ||
<option value="RI">Rhode Island</option> | ||
<option value="SC">South Carolina</option> | ||
<option value="SD">South Dakota</option> | ||
<option value="TN">Tennessee</option> | ||
<option value="TX">Texas</option> | ||
<option value="UT">Utah</option> | ||
<option value="VT">Vermont</option> | ||
<option value="VA">Virginia</option> | ||
<option value="WA">Washington</option> | ||
<option value="WV">West Virginia</option> | ||
<option value="WI">Wisconsin</option> | ||
<option value="WY">Wyoming</option> | ||
</select> | ||
</div> | ||
<script> | ||
// Fake the UA before DK is loaded | ||
navigator.__defineGetter__('userAgent', function(){ | ||
return 'Android' // fake mobile | ||
}); | ||
</script> | ||
<script src="../../build/js/dropkick.min.js"></script> | ||
<script src="jquery-1.11.2.js"></script> | ||
<script src="qunit-1.14.0.js"></script> | ||
<script src="../unit/tests_mobile.js"></script> | ||
</body> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>DropKick tests</title> | ||
<link rel="stylesheet" href="../../node_modules/qunitjs/qunit/qunit.css"> | ||
</head> | ||
<body> | ||
<div id="qunit"></div> | ||
<div id="qunit-fixture"> | ||
<button id="btn">Open</button> | ||
<select id="normal_select"> | ||
<option disabled selected class="hidden-option">Choose One</option> | ||
<option value="AL">Alabama</option> | ||
<option value="AK">Alaska</option> | ||
<option value="AZ">Arizona</option> | ||
<option value="AR">Arkansas</option> | ||
<option value="CA">California</option> | ||
<option value="CO">Colorado</option> | ||
<option value="CT">Connecticut</option> | ||
<option value="DE">Delaware</option> | ||
<option value="DC">District Of Columbia</option> | ||
<option value="FL">Florida</option> | ||
<option value="GA">Georgia</option> | ||
<option value="HI">Hawaii</option> | ||
<option value="ID">Idaho</option> | ||
<option value="IL">Illinois</option> | ||
<option value="IN">Indiana</option> | ||
<option value="IA">Iowa</option> | ||
<option value="KS">Kansas</option> | ||
<option value="KY">Kentucky</option> | ||
<option value="LA">Louisiana</option> | ||
<option value="ME">Maine</option> | ||
<option value="MD">Maryland</option> | ||
<option value="MA">Massachusetts</option> | ||
<option value="MI">Michigan</option> | ||
<option value="MN">Minnesota</option> | ||
<option value="MS">Mississippi</option> | ||
<option value="MO">Missouri</option> | ||
<option value="MT">Montana</option> | ||
<option value="NE">Nebraska</option> | ||
<option value="NV">Nevada</option> | ||
<option value="NH">New Hampshire</option> | ||
<option value="NJ">New Jersey</option> | ||
<option value="NM">New Mexico</option> | ||
<option value="NY">New York</option> | ||
<option value="NC">North Carolina</option> | ||
<option value="ND">North Dakota</option> | ||
<option value="OH">Ohio</option> | ||
<option value="OK">Oklahoma</option> | ||
<option value="OR">Oregon</option> | ||
<option value="PA">Pennsylvania</option> | ||
<option value="RI">Rhode Island</option> | ||
<option value="SC">South Carolina</option> | ||
<option value="SD">South Dakota</option> | ||
<option value="TN">Tennessee</option> | ||
<option value="TX">Texas</option> | ||
<option value="UT">Utah</option> | ||
<option value="VT">Vermont</option> | ||
<option value="VA">Virginia</option> | ||
<option value="WA">Washington</option> | ||
<option value="WV">West Virginia</option> | ||
<option value="WI">Wisconsin</option> | ||
<option value="WY">Wyoming</option> | ||
</select> | ||
<select multiple id="multiple"> | ||
<option value="AL">Alabama</option> | ||
<option value="AK">Alaska</option> | ||
<option value="AZ">Arizona</option> | ||
<option value="AR">Arkansas</option> | ||
<option value="CA">California</option> | ||
<option value="CO">Colorado</option> | ||
<option value="CT">Connecticut</option> | ||
<option value="DE">Delaware</option> | ||
<option value="DC">District Of Columbia</option> | ||
<option value="FL">Florida</option> | ||
<option value="GA">Georgia</option> | ||
<option value="HI">Hawaii</option> | ||
<option value="ID">Idaho</option> | ||
<option value="IL">Illinois</option> | ||
<option value="IN">Indiana</option> | ||
<option value="IA">Iowa</option> | ||
<option value="KS">Kansas</option> | ||
<option value="KY">Kentucky</option> | ||
<option value="LA">Louisiana</option> | ||
<option value="ME">Maine</option> | ||
<option value="MD">Maryland</option> | ||
<option value="MA">Massachusetts</option> | ||
<option value="MI">Michigan</option> | ||
<option value="MN">Minnesota</option> | ||
<option value="MS">Mississippi</option> | ||
<option value="MO">Missouri</option> | ||
<option value="MT">Montana</option> | ||
<option value="NE">Nebraska</option> | ||
<option value="NV">Nevada</option> | ||
<option value="NH">New Hampshire</option> | ||
<option value="NJ">New Jersey</option> | ||
<option value="NM">New Mexico</option> | ||
<option value="NY">New York</option> | ||
<option value="NC">North Carolina</option> | ||
<option value="ND">North Dakota</option> | ||
<option value="OH">Ohio</option> | ||
<option value="OK">Oklahoma</option> | ||
<option value="OR">Oregon</option> | ||
<option value="PA">Pennsylvania</option> | ||
<option value="RI">Rhode Island</option> | ||
<option value="SC">South Carolina</option> | ||
<option value="SD">South Dakota</option> | ||
<option value="TN">Tennessee</option> | ||
<option value="TX">Texas</option> | ||
<option value="UT">Utah</option> | ||
<option value="VT">Vermont</option> | ||
<option value="VA">Virginia</option> | ||
<option value="WA">Washington</option> | ||
<option value="WV">West Virginia</option> | ||
<option value="WI">Wisconsin</option> | ||
<option value="WY">Wyoming</option> | ||
</select> | ||
</div> | ||
<script> | ||
// Fake the UA before DK is loaded | ||
navigator.__defineGetter__('userAgent', function(){ | ||
return 'Android'; // fake mobile | ||
}); | ||
</script> | ||
<script src="../../build/js/dropkick.min.js"></script> | ||
<script src="jquery-1.11.2.js"></script> | ||
<script src="../../node_modules/qunitjs/qunit/qunit.js"></script> | ||
<script src="../unit/tests_mobile.js"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters