You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Collections JS adds some methods to the Array.prototype. Since this added functionality doesn't seem to be an explicit intention of assetflow, it seems weird to have it as a dependency.
Specifically, we're using Sugar JS and Collection's Array.find method collides with Sugar's Array.find which is an unintended consequence of using assetflow.
assert=require('assert');assert.equal(Array.prototype.find,void0,"Prototype modified before assetflow");require('assetflow');assert.equal(Array.prototype.find,void0,"Prototype modified after assetflow");
Output: Prototype modified after assetflow
The text was updated successfully, but these errors were encountered:
Collections JS adds some methods to the Array.prototype. Since this added functionality doesn't seem to be an explicit intention of assetflow, it seems weird to have it as a dependency.
Specifically, we're using Sugar JS and Collection's
Array.find
method collides with Sugar'sArray.find
which is an unintended consequence of using assetflow.Output: Prototype modified after assetflow
The text was updated successfully, but these errors were encountered: