Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
c291c12c
Commit
c291c12c
authored
10 years ago
by
Chris Rebert
Browse files
Options
Download
Email Patches
Plain Diff
Disable deprecated global QUnit method aliases to prevent backsliding on QUnit v2 readiness
parent
c8087223
5 merge requests
!28721
Hot test
,
!16605
Test pull please ignore
,
!22103
test
,
!15970
Disable deprecated QUnit global methods
,
!25326
Adjust examples
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
js/tests/index.html
+28
-0
js/tests/index.html
with
28 additions
and
0 deletions
+28
-0
js/tests/index.html
+
28
-
0
View file @
c291c12c
...
@@ -57,6 +57,34 @@
...
@@ -57,6 +57,34 @@
$
(
'
#qunit-fixture
'
).
css
({
top
:
''
,
left
:
''
})
$
(
'
#qunit-fixture
'
).
css
({
top
:
''
,
left
:
''
})
})
})
}
}
// Disable deprecated global QUnit method aliases in preparation for QUnit v2
(
function
()
{
var
methodNames
=
[
'
async
'
,
'
asyncTest
'
,
'
deepEqual
'
,
'
equal
'
,
'
expect
'
,
'
module
'
,
'
notDeepEqual
'
,
'
notEqual
'
,
'
notPropEqual
'
,
'
notStrictEqual
'
,
'
ok
'
,
'
propEqual
'
,
'
push
'
,
'
start
'
,
'
stop
'
,
'
strictEqual
'
,
'
test
'
,
'
throws
'
];
for
(
var
i
=
0
;
i
<
methodNames
.
length
;
i
++
)
{
var
methodName
=
methodNames
[
i
];
window
[
methodName
]
=
undefined
;
}
})();
</script>
</script>
<!-- Plugin sources -->
<!-- Plugin sources -->
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets