diff --git a/docs/0.7/Writing adaptor plugins.md.hbs b/docs/0.7/Writing adaptor plugins.md.hbs index f22c87f..ece43a2 100644 --- a/docs/0.7/Writing adaptor plugins.md.hbs +++ b/docs/0.7/Writing adaptor plugins.md.hbs @@ -7,8 +7,11 @@ An {{{createLink 'Adaptors' 'adaptor'}}} is an object with two methods - `filter ```js myAdaptor = { filter: function ( object, keypath, ractive ) { + // Ractive uses the `filter` function to determine whether something + // needs to be wrapped or not. // return `true` if a particular object is of the type we want to adapt }, + // If an object passes the filter, we wrap it. wrap: function ( ractive, object, keypath, prefixer ) { // set up event bindings etc, and return a 'wrapper' }