Expose delegate object in ClosureScript

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      We've run into a limitation with the ClosureScript class where the script being run can't directly reference the delegate object itself.

      Our example is with a build flow project, where the flow script is being run as a ClosureScript with a FlowDelegate object being set as the script's delegate.
      Obviously, we can then access all the properties and methods of the FlowDelegate object, but we don't seem to have a way to access the object itself. This is equivalent to the ability to reference "delegate" in a closure.

            Assignee:
            Unassigned
            Reporter:
            Sean Sutherland
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: