@webqit/oohtml 2.1.21 → 2.1.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/test/index.js +1 -1
package/package.json
CHANGED
package/test/index.js
CHANGED
|
@@ -30,7 +30,7 @@ export function createDocument( head = '', body = '', callback = null, ) {
|
|
|
30
30
|
return createWindow( skeletonDoc, {
|
|
31
31
|
// Notice we do not want to use the Path utility here.
|
|
32
32
|
// Destroys the file:/// url convention especially in windows
|
|
33
|
-
url: import.meta.url.substring( 0, import.meta.url.lastIndexOf( '/test/' ) ),
|
|
33
|
+
url: import.meta.url.substring( 0, import.meta.url.lastIndexOf( '/test/index.js' ) ),
|
|
34
34
|
beforeParse( window ) {
|
|
35
35
|
if ( callback ) callback( window );
|
|
36
36
|
}
|