Skip to content

Commit

Permalink
Make model param of stamp method optional.
Browse files Browse the repository at this point in the history
Otherwise the compiler requires `this.stamp(null)` or `this.stamp({})`. Might as well make it optional?
  • Loading branch information
trevordixon committed Oct 7, 2015
1 parent 19cc618 commit a2e1e64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/template/templatizer.html
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@
* `stamp`.
*
* @method stamp
* @param {Object} model An object containing key/values to serve as the
* @param {Object=} model An object containing key/values to serve as the
* initial data configuration for the instance. Note that properties
* from the host used in the template are automatically copied into
* the model.
Expand Down

0 comments on commit a2e1e64

Please sign in to comment.