2 ms·
Yeah, for that you can go back to your original solution, but wrap it all in a (function(){ })() so the scope of the functions is limited to that function. I t
by kbenson 13y ago
Yeah, for that you can go back to your original solution, but wrap it all in a (function(){ })() so the scope of the functions is limited to that function. I think you need to assign the Cell function to window.Cell as well to escape the scope for that one component.
Unfortunately, it was much slower when I tested it last night. Close to 60% slower compared to your original solution, or 7% - 10% slower than the original prototype method version.