diff options
author | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2023-09-02 21:23:53 +0200 |
---|---|---|
committer | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2023-09-02 21:23:53 +0200 |
commit | 8fa0873a632f828ed1ad85aa30dee97bc585d32f (patch) | |
tree | adf24490470a8863ca86dafb7d127c4e63148837 /spec/helpers.js | |
parent | b30f0d691dfec74bc855e5550970d0fb35931881 (diff) | |
download | svg.js-8fa0873a632f828ed1ad85aa30dee97bc585d32f.tar.gz svg.js-8fa0873a632f828ed1ad85aa30dee97bc585d32f.zip |
skip descriptive elements on rebuild and toParent
Diffstat (limited to 'spec/helpers.js')
-rw-r--r-- | spec/helpers.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/spec/helpers.js b/spec/helpers.js index b5b29c3..5a2568a 100644 --- a/spec/helpers.js +++ b/spec/helpers.js @@ -154,7 +154,9 @@ export function buildFixtures() { div.style.position = 'absolute' div.style.top = 0 div.style.left = 0 - } catch (e) {} + } catch (e) { + // + } div.appendChild(fixtures()) body.appendChild(div) @@ -172,7 +174,9 @@ export function buildCanvas() { div.style.position = 'absolute' div.style.top = 0 div.style.left = 0 - } catch (e) {} + } catch (e) { + // + } body.appendChild(div) } |