Skip to content


Subversion checkout URL

You can clone with
Download ZIP


durandal.js: added interface to deffered object #442

wants to merge 3 commits into from

2 participants


Added interface for deferred object, returned from event subscription.

export var on: (events: string, callback: Function, context?) => IEventSubscription;

interface IEventSubscription
      * This function adding callback to event subscription
    then(thenCallback: any): void;

      * This function removing current subscription from event handlers
     off(): void;

Additional commit is adding new requirejs declared variables

declare var requirejs: Require;
declare var req: Require;
@Diullei Diullei referenced this pull request from a commit
@Diullei Diullei resolved conflicts to pullrequest #442 6fb8560

I sent a pullrequest #451 to facilitate understanding of this changes.

@Diullei Diullei closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 29, 2013
  1. @rnikitin
  2. @rnikitin

    added comments

    rnikitin authored
  3. @rnikitin

    added additional declared vars

    rnikitin authored
    declare var requirejs: Require;
    declare var req: Require;
Something went wrong with that request. Please try again.