|
|
|
|
|
by daliwali
3274 days ago
|
|
There is actually only one function, that is the one returned from `require('simulacra')`, the others are merely conveniences that are common enough, and `retainElement` is a symbol, not a function. To demarcate this separation better I have considered moving the optional convenience functions into a separate module, which might help clear things up. Edit: actually it seems that you were being dishonest when quoting me, this is what it says, you cut it off short: >Its entire API surface area is a single function (with some optional helpers and symbols) That makes it pretty clear that the core functionality is a single function. |
|
It's 2017 and high time for JavaScript tooling to finally slow down a bit and settle into its bigger britches.