Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

Commit

Permalink
docs(modal): fix Markdown markup for augmented methods
Browse files Browse the repository at this point in the history
Without leading and trailing blank lines, the source is not marked up
as a list.

Closes #2107
  • Loading branch information
wking authored and pkozlowski-opensource committed Apr 30, 2014
1 parent 7899b12 commit cc07cdd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/modal/docs/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ The `open` method returns a modal instance, an object with the following propert
* `opened` - a promise that is resolved when a modal gets opened after downloading content's template and resolving all variables

In addition the scope associated with modal's content is augmented with 2 methods:

* `$close(result)`
* `$dismiss(reason)`

Those methods make it easy to close a modal window without a need to create a dedicated controller

0 comments on commit cc07cdd

Please sign in to comment.