diff --git a/lib/resources.php b/lib/resources.php deleted file mode 100644 index a409b56..0000000 --- a/lib/resources.php +++ /dev/null @@ -1,33 +0,0 @@ - - * @author H. Snater < mediawiki@snater.com > - * - * @codeCoverageIgnoreStart - */ -return call_user_func( function() { - preg_match( '+' . preg_quote( DIRECTORY_SEPARATOR ) . '(?:vendor|extensions)' - . preg_quote( DIRECTORY_SEPARATOR ) . '.*+', __DIR__, $remoteExtPath ); - - $moduleTemplate = [ - 'localBasePath' => __DIR__, - 'remoteExtPath' => '..' . $remoteExtPath[0] - ]; - - return [ - 'globeCoordinate.js' => $moduleTemplate + [ - 'scripts' => [ - 'globeCoordinate/globeCoordinate.js', - 'globeCoordinate/globeCoordinate.Formatter.js', - 'globeCoordinate/globeCoordinate.GlobeCoordinate.js', - ], - ], - - 'util.inherit' => $moduleTemplate + [ - 'scripts' => [ - 'util/util.inherit.js', - ], - ], - ]; -} );