mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-01 01:16:30 +00:00
07c86fc5d3
Previously tests for inheritClass (and other object management utilities) were absent (as they were copied from upstream K-js). I've copied the upstream test suite for this method here and extended it with tests for this new feature. Had to add es5:true to .jshintrc due to a bug in JSHint. Repeated the setting in ve.inheritClass for future reference. Source: https://github.com/Krinkle/K-js/blob/master/test/K.test.js Change-Id: I63ac620d6ce7832ebfee454ddf7b7c90f6eb6121
36 lines
482 B
Plaintext
36 lines
482 B
Plaintext
{
|
|
"predef": [
|
|
"ve",
|
|
"QUnit"
|
|
],
|
|
|
|
"bitwise": true,
|
|
"camelcase": true,
|
|
"curly": true,
|
|
"eqeqeq": true,
|
|
"forin": false,
|
|
"immed": true,
|
|
"latedef": true,
|
|
"newcap": true,
|
|
"noarg": true,
|
|
"noempty": true,
|
|
"nonew": true,
|
|
"plusplus": false,
|
|
"quotmark": "single",
|
|
"regexp": true,
|
|
"undef": true,
|
|
"unused": true,
|
|
"strict": false,
|
|
"trailing": true,
|
|
|
|
"es5": true,
|
|
"multistr": true,
|
|
"smarttabs": true,
|
|
|
|
"browser": true,
|
|
"jquery": true,
|
|
|
|
"nomen": true,
|
|
"onevar": true
|
|
}
|