Spokojnie już się z Przemkiem dogaduje. Zaraz rozwiążemy problem.


2014-05-10 19:24 GMT+02:00 Konrad Zemek <notifications@github.com>:

> In src/js_injector.coffee:
>
> > +  # @param {Integer} taskId specified task identificator
> > +  # @param {Function} runFun specified task processing function
> > +  # @default {null} runFun
> > +  ###
> > +
> > +  injectCode: (taskId, runFun = null) ->
> > +
> > +    if runFun != null
> > +      console.log "CodeInjector:Loading code for task #{taskId}..."
> > +      taskFunctionsList[taskId] = runFun;
> > +      for client in @connectionManager.getActiveConnections()
> > +        @connectionManager.sendNewTaskToPeer(client, taskId, taskFunctionsList[taskId])
> > +      console.log "CodeInjector::Code loaded for task #{taskId} !"
> > +    else
> > +      console.log "CodeInjectror::Complementing clients for task #{taskId}..."
> > +      if @connectionManager.onCodeLoaded != 'code_loaded'
>
> @maciekbb <https://github.com/maciekbb> ^
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/TheTaz/IO2014/pull/67/files#r12505233>
> .
>