Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add note about `.on()` changes to come

  • Loading branch information...
commit f42d1f37fa3197285c1e46fd95642b0fa718ca03 1 parent 88cebe0
@rvagg rvagg authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  README.md
  2. +1 −1  src/ender.js
View
2  README.md
@@ -238,7 +238,7 @@ Here's the run down of the method alias' added...
**ADD EVENTS**
- + on - <code>$(element).on('click', fn);</code>
+ + on - <code>$(element).on('click', fn);</code> *NOTE: This API is likely to change slightly in the near future see [#55](https://github.com/fat/bean/issues/55)*
+ addListener - <code>$(element).addListener('click', fn);</code>
+ bind - <code>$(element).bind('click', fn);</code>
+ listen - <code>$(element).listen('click', fn);</code>
View
2  src/ender.js
@@ -17,7 +17,7 @@
, fire = integrate('fire')
, methods = {
- on: add
+ on: add // NOTE: .on() is likely to change in the near future, don't rely on this as-is see https://github.com/fat/bean/issues/55
, addListener: add
, bind: add
, listen: add
Please sign in to comment.
Something went wrong with that request. Please try again.