mediawiki-extensions-Visual.../modules/ve
Trevor Parscal f7335d4729 Support loading stylesheets into frames from different locations
This is one of the blockers for splitting VE up into separate
repositories or extending VE with an extension.

ve.ui.Frame.js

  It's critical that we don't emit initialize from ve.ui.Frame until
  it's completely loaded, especially its styles, because we will
  begin measuring it straight away.

  Involved loading the stylesheets using $.ajax and setting base
  URL of the iframe to the ve.ui styles directory so all the image
  URLs still worked. This won't work for stylesheets from multiple
  locations, so we needed a more robust solution.

  The new solution uses some trickery described in the code
  documentation, but essentially no longer depends on all
  stylesheets being located in the same folder.

ve.ui.Dialog.js, ve.ui.Inspector.js, ve.ui.Window.js

  Static methods are now being used to extend a window class to
  include different stylesheets rather than simple array
  concatenation.

Change-Id: I619238732f975d41305f81f8f818a577a40f49da
2013-04-08 13:58:50 -07:00
..
actions Store data in LinearData class with an index-value store for objects 2013-03-30 10:06:34 +00:00
ce Quick fix for IE typing after generated content 2013-04-05 16:12:12 -07:00
dm Merge "Store data in LinearData class with an index-value store for objects" 2013-03-30 10:17:39 +00:00
init ve.init.mw.ViewPageTarget: Use original label for replaced tab 2013-04-04 00:16:46 +02:00
styles Toolbar style fixes 2013-03-15 12:48:49 -07:00
test Media dialog support 2013-04-05 11:52:57 -07:00
ui Support loading stylesheets into frames from different locations 2013-04-08 13:58:50 -07:00
ve.Action.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.ActionFactory.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.BranchNode.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.CommandRegistry.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.debug.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.Document.js Emit a transact event on the ve.dm.Document when a transaction occurs 2013-03-14 23:35:50 -07:00
ve.EventEmitter.js Fix documentation to place @emits in the correct place 2013-03-25 21:06:05 +00:00
ve.Factory.js Remove more periods 2013-03-20 22:55:50 +00:00
ve.js Store data in LinearData class with an index-value store for objects 2013-03-30 10:06:34 +00:00
ve.LeafNode.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.Node.js Document and clean up events in all the things 2013-03-20 09:58:27 -07:00
ve.NodeFactory.js Use static.name once for ce and dm nodes 2013-03-07 17:19:39 -08:00
ve.Range.js Remove more periods 2013-03-20 22:55:50 +00:00
ve.Registry.js Document and clean up events in all the things 2013-03-20 09:58:27 -07:00
ve.Surface.js Store data in LinearData class with an index-value store for objects 2013-03-30 10:06:34 +00:00
ve.Trigger.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.TriggerRegistry.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00