mediawiki-extensions-Visual.../modules/ve-mw/init
Timo Tijhof 82657727f9 Consistently use location as global, and location.href for full url
The location object is a global, just like document.

Using it via 'window' needlessly adds complexity and, for example,
makes it harder to catch typos in static analysis.

Standardise on location.href in place of the many different
variants for accessing and assinging the full url:

 location =
 location.href =
 location.assign() =

And each with 'window', 'document' and without host object.

Change-Id: If88515bd88fc5b93ebacd4ec41fce02fec540f18
2014-11-19 00:20:08 +00:00
..
styles Override overflow: hidden; for <h3>s in the command help dialog 2014-10-27 17:51:46 -07:00
targets Consistently use location as global, and location.href for full url 2014-11-19 00:20:08 +00:00
ve.init.mw.js Use registered target, instead of ve.init.Target 2014-06-17 20:41:01 +01:00
ve.init.mw.LinkCache.js Show category items as red if they don't have description pages 2014-11-08 14:27:27 +00:00
ve.init.mw.Platform.js Use hasOwnProperty instead of 'key in obj' 2014-11-05 20:54:50 +00:00
ve.init.mw.Target.js When saving, return the full contentSub to the client 2014-11-12 17:36:59 +00:00
ve.init.mw.TargetEvents.js Switch 'disallowQuotedKeysInObjects' jscs rule on and fix up 2014-08-22 13:50:48 -07:00