@seamly/web-ui 23.0.5 → 23.0.6-alpha.1
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/build/dist/lib/index.debug.js +6 -2
- package/build/dist/lib/index.debug.js.map +1 -1
- package/build/dist/lib/index.debug.min.js +1 -1
- package/build/dist/lib/index.debug.min.js.map +1 -1
- package/build/dist/lib/index.js +6 -2
- package/build/dist/lib/index.js.map +1 -1
- package/build/dist/lib/index.min.js +1 -1
- package/build/dist/lib/index.min.js.map +1 -1
- package/build/dist/lib/standalone.js +6 -2
- package/build/dist/lib/standalone.js.map +1 -1
- package/build/dist/lib/standalone.min.js +1 -1
- package/build/dist/lib/standalone.min.js.map +1 -1
- package/build/dist/lib/style-guide.js +6 -2
- package/build/dist/lib/style-guide.js.map +1 -1
- package/build/dist/lib/style-guide.min.js +1 -1
- package/build/dist/lib/style-guide.min.js.map +1 -1
- package/build/dist/lib/utils.js +6 -2
- package/build/dist/lib/utils.js.map +1 -1
- package/build/dist/lib/utils.min.js +1 -1
- package/build/dist/lib/utils.min.js.map +1 -1
- package/package.json +1 -1
- package/src/javascripts/lib/external-api/index.js +5 -1
package/package.json
CHANGED
|
@@ -12,6 +12,7 @@ class ExternalApi {
|
|
|
12
12
|
constructor(appConfig) {
|
|
13
13
|
this._waitingActions = []
|
|
14
14
|
this._instances = {}
|
|
15
|
+
this._timeoutId = undefined
|
|
15
16
|
this.appConfig = appConfig
|
|
16
17
|
this.context = {}
|
|
17
18
|
}
|
|
@@ -123,7 +124,10 @@ class ExternalApi {
|
|
|
123
124
|
this._instances[config.namespace] = instance
|
|
124
125
|
// Clear the context after creating the instance, so we do not reuse it for the next
|
|
125
126
|
this.context = {}
|
|
126
|
-
|
|
127
|
+
window.clearTimeout(this._timeoutId)
|
|
128
|
+
this._timeoutId = window.setTimeout(() => {
|
|
129
|
+
instance.render()
|
|
130
|
+
}, 60)
|
|
127
131
|
}
|
|
128
132
|
}
|
|
129
133
|
|