mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiEditor
synced 2024-11-12 09:57:16 +00:00
55c6e1271f
This patch replaces the manually operated test module for ext.wikiEditor.toolbar with one based on QUnit. The new test suite uncovered a bug with the removeFromToolbar API function in jquery.wikiEditor.toolbar, which prevented the removal of select buttons from the toolbar. This issue has also been fixed in this commit. .jshintrc was updated to ignore the new QUnit global. Bug: T39485 Change-Id: Icef3debcffa484a8d78628bcd9da0892b750bb40
35 lines
466 B
Plaintext
35 lines
466 B
Plaintext
{
|
|
/* Common */
|
|
|
|
// Enforcing
|
|
"camelcase": true,
|
|
"curly": true,
|
|
"eqeqeq": true,
|
|
"immed": true,
|
|
"latedef": true,
|
|
"newcap": true,
|
|
"noarg": true,
|
|
"noempty": true,
|
|
"nonew": true,
|
|
"quotmark": "single",
|
|
"trailing": true,
|
|
"undef": true,
|
|
"unused": true,
|
|
// Legacy
|
|
"onevar": true,
|
|
|
|
/* Local */
|
|
|
|
// Relaxing
|
|
"loopfunc": true,
|
|
"multistr": true,
|
|
// Environment
|
|
"browser": true,
|
|
|
|
"globals": {
|
|
"mediaWiki": false,
|
|
"jQuery": false,
|
|
"QUnit": false
|
|
}
|
|
}
|