Преглед изворни кода

back to render instead of render_section

tags/0.4.0
Ben Cherry пре 15 година
родитељ
комит
6f3bdedd22
1 измењених фајлова са 1 додато и 1 уклоњено
  1. +1
    -1
      mustache.js

+ 1
- 1
mustache.js Прегледај датотеку

@@ -171,7 +171,7 @@ var Mustache = function() {
var renderedBefore = before ? that.render_tags(before, context, partials, true) : "",

// after may contain both sections and tags, so use full rendering function
renderedAfter = after ? that.render_section(after, context, partials, true) : "";
renderedAfter = after ? that.render(after, context, partials, true) : "";

var value = that.find(name, context);
if(type == "^") { // inverted section


Loading…
Откажи
Сачувај