mediawiki-extensions-Visual.../modules/ve
Timo Tijhof ca40077866 Clean up Target properties
Move target.surface from mw.Target to Target
* All targets use this, let's standardise it.

Move target.$document from mw.ViewPageTarget to Target
* It was initialised with null in mw.ViewPageTarget, but the
  assignment happened in mw.Target. So it should be moved up
  at least to mw.Target.
* Since it is useful to have in sa.Target as well, moved it up
  to the abstract Target, and implemented in sa.Target and
  immediately used in the standalone demo where we were already
  duplicating the find( '.ve-ce-documentNode' ).

Add missing target.setupDone = false; in sa.Target

Add missing target.toolbar to Target
* Was used in all subclasses, but never initialised in any of
  the constructors. Let's standardise this property name as well
  (instead of initialising it in three places).

Move target#event-surfaceReady from mw.Target to Target
* sa.Target uses it as well, and considering Platform#initialize
  is already standardised in the abstract class, Target#setup
  being deferred is most likely to happen in each target as well
  so let's avoid different events being invented for the same
  thing and consistently use 'surfaceReady'.

Change-Id: Ia8bde188a4cde7e1615c2ae9c5b758eefc5d9cb7
2013-12-19 02:16:20 +00:00
..
ce Fix paste tests to work in phantomJS 2013-12-18 02:40:42 +00:00
dm Merge "Check values property exists before removing attribute" 2013-12-13 19:39:42 +00:00
i18n Localisation updates from https://translatewiki.net. 2013-12-18 20:27:34 +00:00
init Clean up Target properties 2013-12-19 02:16:20 +00:00
test Clean up HTML files, Gruntfile and remove index-phantomjs-tmp hack 2013-12-18 07:00:23 +00:00
ui Add a getDirectionFromRange Method to ve.ce.Document 2013-12-13 12:07:19 -08:00
ve.BranchNode.js
ve.debug.js
ve.Document.js Always use #getDocumentNode. 2013-12-04 22:55:26 +00:00
ve.EventSequencer.js ve.EventSequencer onLoop: minor consistency change 2013-12-13 18:33:11 +00:00
ve.js Set up node-jscs, pass it, and configure in local Gruntfile 2013-12-06 10:37:27 -08:00
ve.LeafNode.js
ve.Node.js Rename @emits to @fires so we're forward compatible with JSDuck 5 2013-10-22 19:11:16 +00:00
ve.Range.js doc: Fix existing violations detected by JSDuck 5 2013-11-19 16:10:25 +05:30
ve.track.js ve.track: add topic-based analytic event subscription 2013-10-16 10:03:27 -07:00