mediawiki-extensions-Visual.../modules/ve/ui
Timo Tijhof cf7f2b141d Set up node-jscs, pass it, and configure in local Gruntfile
Let's experiment with this via our local Gruntfile. If it works
fine we can install it in Jenkins (similar to node-csslint).

Verify through $ npm install && npm test;

Fixed all outstanding violations.

Also:
* Added syntaxhighight to ignore.
* Added imetests (which contain unformatted JSON) to ignore.
* In ve.dm.ModelRegistry#matchTypeRegExps, removed redundant
  !! cast from the [+!!withFunc] statement which was hitting
  a bug in node-jscs. All callers to this local private function
  pass a literal boolean true/false so no need to cast it.
* Removed "/* key .. , value */" from ve.setProp, though this
  wasn't caught by node-jscs, found it when searching for " , ".
* Made npm.devDependencies fixed instead of using tilde-ranges.
  This too often leads to strange bugs or sudden changes. Fixed
  them at the version they were currently ranging to.

Bug: 54218
Change-Id: Ib2630806f3946874c8b01e58cf171df83a28da29
2013-12-06 10:37:27 -08:00
..
actions Re-order command registry to match toolbar order 2013-12-02 14:18:03 +00:00
inspectors Set up node-jscs, pass it, and configure in local Gruntfile 2013-12-06 10:37:27 -08:00
styles Insert special character tool 2013-12-05 22:51:14 -08:00
tools Set up node-jscs, pass it, and configure in local Gruntfile 2013-12-06 10:37:27 -08:00
widgets Set up node-jscs, pass it, and configure in local Gruntfile 2013-12-06 10:37:27 -08:00
ve.ui.Action.js The Great ve.ui.Surface refactor of 2013 2013-05-24 14:01:02 +02:00
ve.ui.ActionFactory.js Remove ve.Factory and ve.Registry and use oojs instead 2013-10-22 19:15:18 +00:00
ve.ui.Command.js Detangle triggers from OOUI 2013-10-29 05:50:30 +00:00
ve.ui.CommandRegistry.js Re-order command registry to match toolbar order 2013-12-02 14:18:03 +00:00
ve.ui.Context.js Set up node-jscs, pass it, and configure in local Gruntfile 2013-12-06 10:37:27 -08:00
ve.ui.Dialog.js Window refactor 2013-11-08 12:33:25 -08:00
ve.ui.Inspector.js Remove ooui-inspector-* messages 2013-12-04 19:04:51 +00:00
ve.ui.js Window refactor 2013-11-08 12:33:25 -08:00
ve.ui.Surface.js getDataFromDom -> getModelFromDom 2013-12-04 14:46:34 -08:00
ve.ui.TargetToolbar.js Window refactor 2013-11-08 12:33:25 -08:00
ve.ui.Toolbar.js Add direction classes to Toolbar based on context 2013-12-03 15:24:54 -08:00
ve.ui.ToolFactory.js Split oojs-ui from ve.ui 2013-10-28 22:40:08 -07:00
ve.ui.Trigger.js Add the special 'clear' (12) button to ve.ui.Trigger 2013-07-29 16:41:28 -07:00
ve.ui.TriggerRegistry.js Plain text paste with paste special 2013-11-26 18:23:58 +00:00
ve.ui.WindowSet.js Window refactor 2013-11-08 12:33:25 -08:00