mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Fix "type" is not defined issue on TinyTest.
This commit is contained in:
@@ -451,7 +451,7 @@ Template.test.helpers({
|
||||
|
||||
eventsArray: function() {
|
||||
var events = this.events.filter(function(e) {
|
||||
return e[type] != "finish";
|
||||
return e.type !== "finish";
|
||||
});
|
||||
|
||||
var partitionBy = function(seq, func) {
|
||||
@@ -583,4 +583,4 @@ Template.event.helpers({
|
||||
is_debuggable: function() {
|
||||
return !!this.cookie;
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user