diff options
Diffstat (limited to 'www/wiki/extensions/Maps/Maps.resources.php')
-rw-r--r-- | www/wiki/extensions/Maps/Maps.resources.php | 92 |
1 files changed, 0 insertions, 92 deletions
diff --git a/www/wiki/extensions/Maps/Maps.resources.php b/www/wiki/extensions/Maps/Maps.resources.php deleted file mode 100644 index 9c61887b..00000000 --- a/www/wiki/extensions/Maps/Maps.resources.php +++ /dev/null @@ -1,92 +0,0 @@ -<?php - -/** - * Definition of Maps resource loader modules. - * - * @since 3.0 - * - * @licence GNU GPL v2+ - * @author Jeroen De Dauw < jeroendedauw@gmail.com > - * @author Daniel Werner < daniel.a.r.werner@gmail.com > - * - * @codeCoverageIgnoreStart - */ -return call_user_func( function() { - $moduleTemplate = [ - 'position' => 'top', - 'group' => 'ext.maps', - 'localBasePath' => __DIR__, - 'remoteExtPath' => 'Maps', - 'targets' => [ - 'mobile', - 'desktop' - ] - ]; - - return [ - 'ext.maps.common' => $moduleTemplate + [ - 'messages' => [ - 'maps-load-failed', - ] , - 'scripts' => [ - 'resources/ext.maps.common.js', - ], - ], - - 'ext.maps.resizable' => $moduleTemplate + [ - 'dependencies' => 'jquery.ui.resizable', - ], - - 'mapeditor' => $moduleTemplate + [ - 'scripts' => [ - 'resources/editor/js/jquery.miniColors.js', - 'resources/editor/js/mapeditor.iefixes.js', - 'resources/editor/js/mapeditor.js', - ], - 'styles' => [ - 'resources/editor/css/jquery.miniColors.css', - 'resources/editor/css/mapeditor.css', - ], - 'messages' => [ - 'mapeditor-parser-error', - 'mapeditor-none-text', - 'mapeditor-done-button', - 'mapeditor-remove-button', - 'mapeditor-import-button', - 'mapeditor-export-button', - 'mapeditor-import-button2', - 'mapeditor-select-button', - 'mapeditor-mapparam-button', - 'mapeditor-clear-button', - 'mapeditor-imageoverlay-button', - ], - 'dependencies' => [ - 'ext.maps.common', - 'jquery.ui.autocomplete', - 'jquery.ui.slider', - 'jquery.ui.dialog', - ], - ], - - 'ext.maps.services' => $moduleTemplate + [ - 'scripts' => [ - 'resources/ext.maps.services.js', - ], - 'dependencies' => [ - 'ext.maps.common', - ] - ], - - 'ext.sm.common' => $moduleTemplate + [ - 'scripts' => [ - 'resources/ext.sm.common.js' - ], - 'dependencies' => [ - 'ext.maps.common', - 'ext.maps.services' - ] - ], - ]; - -} ); -// @codeCoverageIgnoreEnd |