Skip to content

Commit

Permalink
Merge pull request #467 from rnikitin/master
Browse files Browse the repository at this point in the history
transition is an optional parameter.
  • Loading branch information
Diullei committed Apr 8, 2013
2 parents f633eb2 + bcd11d7 commit b3fafd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion durandal/durandal.d.ts
Expand Up @@ -64,7 +64,7 @@ declare module "durandal/app" {
* @param transition If you have a splash screen, you may want to specify an optional transition to animate from the splash to your main shell.
* @param applicationHost parameter is optional. If provided it should be an element id for the node into which the UI should be composed. If it is not provided the default is to look for an element with an id of "applicationHost".
*/
export var setRoot: (root: any, transition: string, applicationHost?: string) => void;
export var setRoot: (root: any, transition?: string, applicationHost?: string) => void;
/**
* If you intend to run on mobile, you should also call app.adaptToDevice() before setting the root.
*/
Expand Down

0 comments on commit b3fafd6

Please sign in to comment.