mediawiki-extensions-Visual.../modules/ve
Timo Tijhof c889292adf Kranitor #004: MediaWiki-specific clean up and minor fixes
* Default value of wgVisualEditorParsoidURL is broken.
  Slash is needed, else Api will request to
  http://hostnamePageName
  Roan says double slashes are okay, and look cleaner than string
  search checks etc.

* Use .clone() for mw.Uri instead of converting to string
  and letting mw.Uri parse it, again. Clone creates a basic
  instance and copies over properties internally (deep copy,
  no references).

* No need for hasOwnProperty (and its potential issues)

* Code clean up
 - Whitespace consistency
 - Variable hosting
 - Remove redundant `return false;` statements in event handlers
   e.preventDefault() is a jQuery.Event method that takes care
   of cross-browser issues.
 - Same for e.keyCode||e.which thing, this is already normalized
   by jQuery.Event
 - Add missing parameter to setTimeout
 - Consistent order in success/error handlers in $.ajax options

Change-Id: I5bc24e0cbdf01b3704d4ccb0b45b3052e3b58694
2012-08-03 23:55:52 -07:00
..
ce Cleanup - all jshint conditions are now met 2012-08-03 18:56:04 -07:00
dm Cleanup - all jshint conditions are now met 2012-08-03 18:56:04 -07:00
init Kranitor #004: MediaWiki-specific clean up and minor fixes 2012-08-03 23:55:52 -07:00
test Cleanup - all jshint conditions are now met 2012-08-03 18:56:04 -07:00
ui Cleanup - all jshint conditions are now met 2012-08-03 18:56:04 -07:00
ve.BranchNode.js Cleanup - all jshint conditions are now met 2012-08-03 18:56:04 -07:00
ve.debug.js Removed some whitespace 2012-07-19 14:25:16 -07:00
ve.Document.js Cleanup - all jshint conditions are now met 2012-08-03 18:56:04 -07:00
ve.EventEmitter.js Cleanup - all jshint conditions are now met 2012-08-03 18:56:04 -07:00
ve.Factory.js Removed some whitespace 2012-07-19 14:25:16 -07:00
ve.js Cleanup - all jshint conditions are now met 2012-08-03 18:56:04 -07:00
ve.LeafNode.js Removed some whitespace 2012-07-19 14:25:16 -07:00
ve.Node.js Kranitor #1: On-boarding 2012-07-27 14:40:00 -07:00
ve.Position.js Removed some whitespace 2012-07-19 14:25:16 -07:00
ve.Range.js Bug 33088 - VisualEditor: Editing a part of text of a link doesn't work (or this shouldn't be allowed) 2012-07-19 16:15:07 -07:00
ve.Surface.js Cleanup - all jshint conditions are now met 2012-08-03 18:56:04 -07:00