mediawiki-extensions-Visual.../modules/ve/ui/ve.ui.js
Trevor Parscal 6b34f09df2 Removed some whitespace
And added a license to some files that didn't have it yet

Change-Id: I3a7e60374d1198d369a0475b8f65f7415012a337
2012-07-19 14:25:16 -07:00

29 lines
674 B
JavaScript

/*global mw */
/**
* VisualEditor user interface namespace.
*
* @copyright 2011-2012 VisualEditor Team and others; see AUTHORS.txt
* @license The MIT License (MIT); see LICENSE.txt
*/
/**
* Namespace for all VisualEditor user interface classes, static methods and static properties.
*/
ve.ui = {
// Path to UI assets for direct loading
'stylesheetPath': 'extensions/VisualEditor/modules/ve/ui/styles/'
};
/*
* @method static
* Returns UI stylesheet path
*/
ve.ui.getStylesheetPath = function() {
if ( 'mw' in window ) {
return mw.config.get( 'wgExtensionAssetsPath' ) + '/VisualEditor/modules/ve/ui/styles/';
} else {
return ve.ui.stylesheetPath;
}
};