mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-11 19:37:49 +00:00
Update qunit-extras and backbone test to work with QUnit 1.16.0.
This commit is contained in:
@@ -23,7 +23,7 @@
|
|||||||
"dojo": "~1.10.2",
|
"dojo": "~1.10.2",
|
||||||
"jquery": "~1.11.1",
|
"jquery": "~1.11.1",
|
||||||
"platform": "~1.3.0",
|
"platform": "~1.3.0",
|
||||||
"qunit-extras": "~1.3.0",
|
"qunit-extras": "~1.4.0",
|
||||||
"qunitjs": "~1.16.0",
|
"qunitjs": "~1.16.0",
|
||||||
"requirejs": "~2.1.15"
|
"requirejs": "~2.1.15"
|
||||||
},
|
},
|
||||||
|
|||||||
2
vendor/backbone/test/environment.js
vendored
2
vendor/backbone/test/environment.js
vendored
@@ -9,7 +9,7 @@
|
|||||||
var replaceState = history.replaceState;
|
var replaceState = history.replaceState;
|
||||||
|
|
||||||
QUnit.testStart(function() {
|
QUnit.testStart(function() {
|
||||||
var env = this.config.current.testEnvironment;
|
var env = QUnit.config.current.testEnvironment;
|
||||||
|
|
||||||
// We never want to actually call these during tests.
|
// We never want to actually call these during tests.
|
||||||
history.pushState = history.replaceState = function(){};
|
history.pushState = history.replaceState = function(){};
|
||||||
|
|||||||
Reference in New Issue
Block a user