mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Fix 'this' within template helpers
This commit is contained in:
@@ -35,7 +35,7 @@ _extend(UI.Component, {
|
||||
} else if ((comp = findComponentWithProp(id, self))) {
|
||||
// found a method
|
||||
result = comp[id];
|
||||
thisToBind = comp;
|
||||
thisToBind = self;
|
||||
} else if (id === 'if') {
|
||||
result = UI.If;
|
||||
} else if (id === 'each') {
|
||||
|
||||
Reference in New Issue
Block a user