lib/assets/javascripts/unpoly/form.js.coffee in unpoly-rails-0.31.2 vs lib/assets/javascripts/unpoly/form.js.coffee in unpoly-rails-0.32.0
- old
+ new
@@ -219,10 +219,10 @@
after the input value changes. Use this to limit how often the callback
will be invoked for a fast typist.
@param {Function(value, $field)|String} onChange
The callback to run when the field's value changes.
If given as a function, it must take two arguments (`value`, `$field`).
- If given as a string, it will be evaled as Javascript code in a context where
+ If given as a string, it will be evaled as JavaScript code in a context where
(`value`, `$field`) are set.
@return {Function}
A destructor function that removes the observe watch when called.
@stable
###