diff --git a/README.md b/README.md index d7fe583..c7362bf 100644 --- a/README.md +++ b/README.md @@ -238,7 +238,7 @@ Here's the run down of the method alias' added... **ADD EVENTS** - + on - $(element).on('click', fn); + + on - $(element).on('click', fn); *NOTE: This API is likely to change slightly in the near future see [#55](https://github.com/fat/bean/issues/55)* + addListener - $(element).addListener('click', fn); + bind - $(element).bind('click', fn); + listen - $(element).listen('click', fn); diff --git a/src/ender.js b/src/ender.js index 4e08f89..44ee700 100644 --- a/src/ender.js +++ b/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