]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commit
[docs] fixed programmatic use of interchange 9332/head
authorJörn Röder <joernroeder@users.noreply.github.com>
Sun, 6 Nov 2016 19:19:35 +0000 (20:19 +0100)
committerGitHub <noreply@github.com>
Sun, 6 Nov 2016 19:19:35 +0000 (20:19 +0100)
commit2c6adffb8afb197ff7d56095198cb8101672f867
tree7be86f37f6336ccb790c90442f864e28f26cc583
parent483ca9fa60c16176e7e177ea11735c938bc2ef10
[docs] fixed programmatic use of interchange

I was running into this issue and it took me a while to figure out that by providing a single string as `rules` option the [loop](https://github.com/zurb/foundation-sites/blob/develop/js/foundation.interchange.js#L109) iterates over each character in the option string. Providing an array fixed it.
docs/pages/interchange.md