@primer/view-components 0.28.0-rc.22557eac → 0.28.0-rc.3edef6b8
Sign up to get free protection for your applications and to get access to all the features.
@@ -378,8 +378,10 @@ _SelectPanelElement_waitForCondition = function _SelectPanelElement_waitForCondi
|
|
378
378
|
}
|
379
379
|
else {
|
380
380
|
const mutationObserver = new MutationObserver(() => {
|
381
|
-
|
382
|
-
|
381
|
+
if (condition()) {
|
382
|
+
body();
|
383
|
+
mutationObserver.disconnect();
|
384
|
+
}
|
383
385
|
});
|
384
386
|
mutationObserver.observe(this, { childList: true, subtree: true });
|
385
387
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@primer/view-components",
|
3
|
-
"version": "0.28.0-rc.
|
3
|
+
"version": "0.28.0-rc.3edef6b8",
|
4
4
|
"description": "ViewComponents for the Primer Design System",
|
5
5
|
"main": "app/assets/javascripts/primer_view_components.js",
|
6
6
|
"module": "app/components/primer/primer.js",
|