mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-14 01:24:19 +02:00
QUnit.jsDump => QUnit.dump
Refs http://qunitjs.com/upgrade-guide-2.x/#replace-qunit-jsdump-with-qunit-dump
This commit is contained in:
@@ -31,8 +31,8 @@
|
|||||||
if (!obj.result) {
|
if (!obj.result) {
|
||||||
// Dumping large objects can be very slow, and the dump isn't used for
|
// Dumping large objects can be very slow, and the dump isn't used for
|
||||||
// passing tests, so only dump if the test failed.
|
// passing tests, so only dump if the test failed.
|
||||||
actual = QUnit.jsDump.parse(obj.actual)
|
actual = QUnit.dump.parse(obj.actual)
|
||||||
expected = QUnit.jsDump.parse(obj.expected)
|
expected = QUnit.dump.parse(obj.expected)
|
||||||
}
|
}
|
||||||
// Send it.
|
// Send it.
|
||||||
sendMessage('qunit.log', obj.result, actual, expected, obj.message, obj.source)
|
sendMessage('qunit.log', obj.result, actual, expected, obj.message, obj.source)
|
||||||
|
Reference in New Issue
Block a user