Skip to content

Commit

Permalink
[fix] Allow rendering of empty strings so we can clear placeholders
Browse files Browse the repository at this point in the history
  • Loading branch information
3rd-Eden committed Jun 17, 2014
1 parent afd0f7c commit fa3d242
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
5 changes: 0 additions & 5 deletions dist/pipe.js
Original file line number Diff line number Diff line change
Expand Up @@ -3187,11 +3187,6 @@ Pagelet.prototype.render = function render(html) {
}
}

//
// Failed to get any HTML
//
if (!html) return false;

collection.each(this.placeholders, function each(root) {
mode.call(this, root, html);
}, this);
Expand Down
5 changes: 0 additions & 5 deletions pagelet.js
Original file line number Diff line number Diff line change
Expand Up @@ -482,11 +482,6 @@ Pagelet.prototype.render = function render(html) {
}
}

//
// Failed to get any HTML
//
if (!html) return false;

collection.each(this.placeholders, function each(root) {
mode.call(this, root, html);
}, this);
Expand Down

0 comments on commit fa3d242

Please sign in to comment.