Menu icon Foundation
Eric Morris over 5 years ago

The Foundation Javascript was an uneven mix of the two styles, and migrating to snake_case from camelCase required fewer changes. The core devs who were responsible for the decision are Ruby developers, so that colored the choice as well.

The change does, however, give the benefit that it's much easier to tell what is a Foundation function and what's a call to the native API due to the naming conventions.

James Craine almost 6 years ago

I'd like to know this as well. Seems a bit inconsistent with the JS language conventions.