it was intentional (in case of method chaining) but at the end we don't use
it.


On 19 December 2013 09:34, Rob Loach <notifications@github.com> wrote:

> In src/grunt.plugin.coffee:
>
> > @@ -16,8 +18,22 @@ module.exports = (BasePlugin) ->
> >        populateCollectionsBefore: false
> >        populateCollections: false
> >
> > +    createEventHandlers: (docpad) ->
> > +      for eventName in docpad.getEvents()
> > +        @[eventName] = (opts, next) =>
> > +          if tasks = @getConfig()[eventName] or false
> > +            @processGrunt(tasks, opts, next)
> > +          else
> > +            return next()
> > +          @
> > +    @
>
> It also looks like this @ is inline with the createEventHandlers, and the
> rest of the class functions. This is not intentional, is it?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/RobLoach/docpad-plugin-grunt/pull/6/files#r8463162>
> .
>