Skip to content

Commit

Permalink
allow renderloop to have a number
Browse files Browse the repository at this point in the history
  • Loading branch information
kbrsh committed Jun 6, 2017
1 parent 2fae857 commit c8bee28
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/moon.js
Original file line number Diff line number Diff line change
Expand Up @@ -1983,7 +1983,7 @@

/**
* Renders "m-for" Directive Array
* @param {Array|Object} iteratable
* @param {Array|Object|Number} iteratable
* @param {Function} item
*/
Moon.prototype.renderLoop = function (iteratable, item) {
Expand Down
2 changes: 1 addition & 1 deletion src/instance/methods.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ Moon.prototype.emit = function(eventName, customMeta) {

/**
* Renders "m-for" Directive Array
* @param {Array|Object} iteratable
* @param {Array|Object|Number} iteratable
* @param {Function} item
*/
Moon.prototype.renderLoop = function(iteratable, item) {
Expand Down

0 comments on commit c8bee28

Please sign in to comment.