knockout-file-bindings
knockout-file-bindings copied to clipboard
Fix DataURLs in polluted environments.
Iterating with in is not safe on objects that could be polluted like Array because it will pick up the polluted properties as well. This fix allows this plugin to be used within Salesforce B2B Commerce and provides no meaningful change for those not in environments where Array isn't polluted.
This PR safe my day ! Thanks !!! FYI : https://stackoverflow.com/questions/500504/why-is-using-for-in-for-array-iteration-a-bad-idea
@safrazik do you have any intention of merging this in or is this project abandoned?