Skip to content
This repository has been archived by the owner on Aug 29, 2020. It is now read-only.

[enhancement] replace speed of <script> #14

Open
tingwei628 opened this issue Dec 7, 2018 · 1 comment
Open

[enhancement] replace speed of <script> #14

tingwei628 opened this issue Dec 7, 2018 · 1 comment

Comments

@tingwei628
Copy link
Owner

I found when i replace <script> with another<script>, and flow of animation was going to be slow down

@tingwei628
Copy link
Owner Author

Ref

var myNode = document.getElementById("foo");
while (myNode.lastChild) {
    myNode.removeChild(myNode.lastChild);
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant