Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#123·fastdom

Shorter code

Author: hzxCreated Jan 20, 2021Updated Jan 20, 2021

https://github.com/wilsonpage/fastdom/blob/51670c416c5ae25ee6ad50a6c4f0469665acbc62/src/fastdom-strict.js#L40

enabled = value if (value) strictdom.enable(); else strictdom.disable();

Source: wilsonpage/fastdom

View original on GitHubView discussion on GitHub