Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix typo

  • Loading branch information...
commit 6141d329dd4165cda522667af1997fa19eb7994a 1 parent 9a1997d
@yiminghe yiminghe authored
View
2  bin/xtemplate.js
@@ -47,7 +47,7 @@ var codeTemplate = '' +
' Generated by kissy-xtemplate.' +
'*/\n' +
'KISSY.add({module} function(){\n' +
- 'return {code};\n' +
+ 'return {code}\n' +
'});';
var module = argv.module || '';
View
15 src/xtemplate/sub-modules/compiler/src/ast.js
@@ -6,6 +6,13 @@ KISSY.add("xtemplate/compiler/ast", function (S) {
var ast = {};
+ /**
+ * @ignore
+ * @param lineNumber
+ * @param statements
+ * @param [inverse]
+ * @constructor
+ */
ast.ProgramNode = function (lineNumber, statements, inverse) {
var self = this;
self.lineNumber = lineNumber;
@@ -33,6 +40,14 @@ KISSY.add("xtemplate/compiler/ast", function (S) {
ast.BlockNode.prototype.type = 'block';
+ /**
+ * @ignore
+ * @param lineNumber
+ * @param path
+ * @param [params]
+ * @param [hash]
+ * @constructor
+ */
ast.TplNode = function (lineNumber, path, params, hash) {
var self = this;
self.lineNumber = lineNumber;
View
2  src/xtemplate/sub-modules/compiler/src/parser.js
@@ -1931,5 +1931,5 @@ KISSY.add("xtemplate/compiler/parser", function () {
return undefined;
};
- return parser;;
+ return parser;
});
View
1  src/xtemplate/sub-modules/runtime/src/commands.js
@@ -14,7 +14,6 @@ KISSY.add("xtemplate/runtime/commands", function (S, XTemplate) {
var buffer = '';
var xcount;
var single;
- var singleRet;
if (S.isArray(param0)) {
var opScopes = [0].concat(scopes);
xcount = param0.length;
Please sign in to comment.
Something went wrong with that request. Please try again.