Got Qunit tests running through RSpec and fixed a bunch of bugs... 33 fails from the original suite to go
This commit is contained in:
@@ -96,11 +96,13 @@ Handlebars.Runtime.prototype = {
|
||||
for(var i=0, l=statements.length; i<l; i++) {
|
||||
this.accept(statements[i]);
|
||||
}
|
||||
|
||||
return this.buffer;
|
||||
},
|
||||
|
||||
mustache: function(mustache) {
|
||||
var idObj = this.accept(mustache.id);
|
||||
var params = this.evaluateParams(mustache.params);
|
||||
var params = mustache.params;
|
||||
|
||||
for(var i=0, l=params.length; i<l; i++) {
|
||||
params[i] = this.accept(params[i]).data;
|
||||
@@ -137,6 +139,8 @@ Handlebars.Runtime.prototype = {
|
||||
this.buffer += content.string;
|
||||
},
|
||||
|
||||
comment: function() {},
|
||||
|
||||
evaluateParams: function(params) {
|
||||
for(var i=0, l=params.length; i<l; i++) {
|
||||
params[i] = this.accept(params[i]).data;
|
||||
|
||||
Reference in New Issue
Block a user