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
My team and I would like to use the interchange plugin but we noticed an error in the [generatedRules](https://github.com/zurb/foundation-sites/blob/develop/js/foundation.interchange.js#L104) handler. Here's our HTML code:
Just some extra information, we (unfortunately) use extjs which overrides some native methods of the Array prototype and add other methods such as remove.
I had the same issue with a similar library.
I was able to get this working for me by wrapping the contents of 'for each' blocks with a hasOwnProperty check.
for (var i in rules) {
if (rules.hasOwnProperty(i)) {
// original code
}
}
Note: There are several 'for each' blocks in the script.
Hi,
My team and I would like to use the interchange plugin but we noticed an error in the
[generatedRules](https://github.com/zurb/foundation-sites/blob/develop/js/foundation.interchange.js#L104)
handler. Here's our HTML code:This method is trying to loop over an array using the
for in
loop and so, slice some of the array prototype functions.Thanks for your help.
The text was updated successfully, but these errors were encountered: