citrus/spree_variant_options — pull request #21 by argami (2012-03-12 05:30:12+00:00)
Title: Variable can be changed outside of the scope by mistake

Buttons variable is a really common variable name and took me some time to find the error because a async js (unrelated with the app) use the same variable name and add other content to that one.

Set up the variable in the context of the function everything works again