|
|
@@ -3,7 +3,7 @@
|
|
|
* For licensing, see LICENSE.md.
|
|
|
*/
|
|
|
|
|
|
-/* global requirejs, define, require, window, document, location */
|
|
|
+/* global requirejs, define, require, window, document */
|
|
|
|
|
|
'use strict';
|
|
|
|
|
|
@@ -98,14 +98,6 @@
|
|
|
}
|
|
|
} );
|
|
|
|
|
|
- if ( path.indexOf( ':/' ) == -1 && path.slice( 0, 2 ) != '//' ) {
|
|
|
- if ( path[ 0 ] == '/' ) {
|
|
|
- path = location.href.match( /^.*?:\/\/[^\/]*/ )[ 0 ] + path;
|
|
|
- } else {
|
|
|
- path = location.href.match( /^[^\?]*\/(?:)/ )[ 0 ] + path;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
return path;
|
|
|
}
|
|
|
} )( window );
|