r105890 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r105889‎ | r105890 | r105891 >
Date:15:31, 12 December 2011
Author:tparscal
Status:ok
Tags:
Comment:
Made es an explicit global object
Modified paths:
  • /trunk/extensions/VisualEditor/modules/es/es.js (modified) (history)

Diff [purge]

Index: trunk/extensions/VisualEditor/modules/es/es.js
@@ -3,7 +3,7 @@
44 *
55 * All classes and functions will be attached to this object to keep the global namespace clean.
66 */
7 -es = {};
 7+window.es = {};
88
99 /* Functions */
1010
@@ -24,7 +24,7 @@
2525 * Foo.call( this );
2626 * }
2727 * // Extend prototype
28 - * extend( Bar, Foo );
 28+ * es.extendClass( Bar, Foo );
2929 *
3030 * @static
3131 * @method

Status & tagging log