Skip to content

Commit ceed937

Browse files
committed
fix: pretty-lint error "RuntimeGlobals.moduleFactories"
1 parent 111a7b7 commit ceed937

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

lib/container/RemoteRuntimeModule.js

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ class RemoteRuntimeModule extends RuntimeModule {
7373
Template.indent(
7474
`error.message += '\\nwhile loading "' + data[1] + '" from ' + data[2];`
7575
),
76-
`${RuntimeGlobals.moduleFactories}[id] = ${runtimeTemplate.basicFunction("", [
77-
"throw error;"
78-
])}`,
76+
`${
77+
RuntimeGlobals.moduleFactories
78+
}[id] = ${runtimeTemplate.basicFunction("", ["throw error;"])}`,
7979
"data.p = 0;"
8080
])};`,
8181
`var handleFunction = ${runtimeTemplate.basicFunction(
@@ -111,10 +111,11 @@ class RemoteRuntimeModule extends RuntimeModule {
111111
)};`,
112112
`var onFactory = ${runtimeTemplate.basicFunction("factory", [
113113
"data.p = 1;",
114-
`${RuntimeGlobals.moduleFactories}[id] = ${runtimeTemplate.basicFunction(
115-
"module",
116-
["module.exports = factory();"]
117-
)}`
114+
`${
115+
RuntimeGlobals.moduleFactories
116+
}[id] = ${runtimeTemplate.basicFunction("module", [
117+
"module.exports = factory();"
118+
])}`
118119
])};`,
119120
"handleFunction(__webpack_require__, data[2], 0, 0, onExternal, 1);"
120121
])});`

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy