Permalink
Browse files

version bump

  • Loading branch information...
1 parent bf229cb commit 9609311c6fab61629099ca87380658003200cbd6 @amccollum committed Jun 6, 2012
Showing with 5 additions and 3 deletions.
  1. +1 −0 lib/ender.js
  2. +3 −2 lib/wings.js
  3. +1 −1 package.json
View
1 lib/ender.js
@@ -1,3 +1,4 @@
+// Generated by CoffeeScript 1.3.3
(function($) {
var renderTemplate;
View
5 lib/wings.js
@@ -1,3 +1,4 @@
+// Generated by CoffeeScript 1.3.3
(function(wings) {
var escapeXML, isArray, parsePattern, renderRawTemplate, replaceBraces, restoreBraces;
@@ -37,7 +38,7 @@
parsePattern = /\{([:!])\s*([^}\s]*?)\s*\}([\S\s]+?)\{\/\s*\2\s*\}|\{(\#)[\S\s]+?\#\}|\{([@&]?)\s*([^}\s]*?)\s*\}/mg;
return renderRawTemplate = function(template, data, links) {
return template.replace(parsePattern, function(all, sectionOp, sectionName, sectionContent, commentOp, tagOp, tagName) {
- var content, i, link, name, op, part, parts, rest, v, value, _len, _ref;
+ var content, i, link, name, op, part, parts, rest, v, value, _i, _len, _ref;
op = sectionOp || commentOp || tagOp;
name = sectionName || tagName;
content = sectionContent;
@@ -52,7 +53,7 @@
}
} else if (isArray(value)) {
parts = [];
- for (i = 0, _len = value.length; i < _len; i++) {
+ for (i = _i = 0, _len = value.length; _i < _len; i = ++_i) {
v = value[i];
v['#'] = i;
parts.push(renderRawTemplate(content, v, links));
View
2 package.json
@@ -1,6 +1,6 @@
{
"name": "wings",
- "version": "0.5.7",
+ "version": "0.5.8",
"description": "Templating library that works on the server and client closely modeled on Mustache",
"keywords": ["ender", "template", "mustache", "html"],
"author": "Andrew McCollum <amccollum@gmail.com>",

0 comments on commit 9609311

Please sign in to comment.