teaspoon-qunit 1.19.0 → 1.20.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -350,7 +350,7 @@
|
|
350
350
|
create();
|
351
351
|
}
|
352
352
|
if (jQueryAvailable()) {
|
353
|
-
parsed =
|
353
|
+
parsed = jQuery(jQuery.parseHTML(content, document, true));
|
354
354
|
results = [];
|
355
355
|
for (i = j = 0, ref = parsed.length; 0 <= ref ? j < ref : j > ref; i = 0 <= ref ? ++j : --j) {
|
356
356
|
results.push(window.fixture.el.appendChild(parsed[i]));
|
@@ -365,7 +365,7 @@
|
|
365
365
|
var ref;
|
366
366
|
window.fixture.el = document.createElement("div");
|
367
367
|
if (jQueryAvailable()) {
|
368
|
-
window.fixture.$el =
|
368
|
+
window.fixture.$el = jQuery(window.fixture.el);
|
369
369
|
}
|
370
370
|
window.fixture.el.id = "teaspoon-fixtures";
|
371
371
|
return (ref = document.body) != null ? ref.appendChild(window.fixture.el) : void 0;
|
@@ -407,7 +407,7 @@
|
|
407
407
|
};
|
408
408
|
|
409
409
|
jQueryAvailable = function() {
|
410
|
-
return typeof window
|
410
|
+
return typeof window.jQuery === 'function';
|
411
411
|
};
|
412
412
|
|
413
413
|
return Fixture;
|
@@ -7,7 +7,7 @@ module Teaspoon
|
|
7
7
|
framework_name :qunit
|
8
8
|
|
9
9
|
# register standard versions
|
10
|
-
versions = ["1.12.0", "1.13.0", "1.14.0", "1.15.0", "1.16.0", "1.17.1", "1.18.0", "1.19.0"]
|
10
|
+
versions = ["1.12.0", "1.13.0", "1.14.0", "1.15.0", "1.16.0", "1.17.1", "1.18.0", "1.19.0", "1.20.0"]
|
11
11
|
|
12
12
|
versions.each do |version|
|
13
13
|
register_version version, "qunit/#{version}.js",
|
data/test/teaspoon_env.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: teaspoon-qunit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.20.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- jejacks0n
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-
|
12
|
+
date: 2015-11-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: teaspoon
|
@@ -42,6 +42,7 @@ files:
|
|
42
42
|
- lib/teaspoon/qunit/assets/qunit/1.17.1.js
|
43
43
|
- lib/teaspoon/qunit/assets/qunit/1.18.0.js
|
44
44
|
- lib/teaspoon/qunit/assets/qunit/1.19.0.js
|
45
|
+
- lib/teaspoon/qunit/assets/qunit/1.20.0.js
|
45
46
|
- lib/teaspoon/qunit/assets/qunit/MIT.LICENSE
|
46
47
|
- lib/teaspoon/qunit/assets/teaspoon-qunit.js
|
47
48
|
- lib/teaspoon/qunit/assets/teaspoon/qunit.coffee
|