@symbo.ls/create 2.11.160 → 2.11.162

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 CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@symbo.ls/create",
3
- "version": "2.11.160",
3
+ "version": "2.11.162",
4
4
  "license": "MIT",
5
- "gitHead": "f36bc99a2d0c1b771e3d8e104d1b1005b2b0a33a",
5
+ "gitHead": "fe3359a1d6c14d38f45f5e5db10ef2056947a228",
6
6
  "files": [
7
7
  "src",
8
8
  "dist"
package/src/index.js CHANGED
@@ -32,9 +32,9 @@ export const create = async (App, options = DEFAULT_CREATE_OPTIONS, optionsExter
32
32
  await fetchSync(key, options)
33
33
 
34
34
  if (typeof (document) === 'undefined') {
35
- if (typeof (window) === 'undefined') window = {}
35
+ if (typeof (window) === 'undefined') window = {} // eslint-disable-line
36
36
  if (!window.document) window.document = { body: {} }
37
- document = window.document
37
+ document = window.document // eslint-disable-line
38
38
  }
39
39
  const doc = options.parent || options.document || document
40
40
  const [scratchSystem, emotion, registry] = initEmotion(key, options)
@@ -98,9 +98,9 @@ export const createSync = (App, options = DEFAULT_CREATE_OPTIONS, optionsExterna
98
98
 
99
99
  // Set parent
100
100
  if (typeof (document) === 'undefined') {
101
- if (typeof (window) === 'undefined') window = {}
101
+ if (typeof (window) === 'undefined') window = {} // eslint-disable-line
102
102
  if (!window.document) window.document = { body: {} }
103
- document = window.document
103
+ document = window.document // eslint-disable-line
104
104
  }
105
105
  let parent
106
106
  if (options.parent) parent = options.parent