David Greenspan
5a1edba2ef
Only look for helpers in the current template
...
Revert the new feature that all helpers in enclosing templates are visible, including helpers on the template that called the current template (for example) and helpers on UI.body.
Making helpers visible to sub-templates was a major change that was never properly justified or thought through. Helpers take precedence over data properties, and having helpers "leak" down through the app could have bad consequences, even if it's useful for defining helpers on a group of related templates. There was a point in shark's history where we needed this dynamic lookup in order for helpers to work in block tags, but that's no longer the case.
Now, helpers are only visible to the lexical body of the template they are defined on (except for global helpers defined with UI.registerHelper).
Ran tests in Chrome; ran todos and docs.
2014-03-24 17:45:05 -07:00
..
2014-03-22 00:47:02 -07:00
2013-07-25 18:54:42 -07:00
2013-07-25 18:54:42 -07:00
2013-07-25 18:54:42 -07:00
2013-07-25 18:54:42 -07:00
2014-02-21 11:39:37 -08:00
2014-03-12 00:32:52 -07:00
2013-05-17 18:00:35 -07:00
2013-05-17 18:00:35 -07:00
2013-05-21 15:19:01 -07:00
2014-03-12 17:27:51 -07:00
2013-07-30 15:37:06 -07:00
2014-03-16 22:46:02 -07:00
2014-03-22 00:47:02 -07:00
2013-07-25 18:54:42 -07:00
2014-03-03 21:21:39 -08:00
2013-11-06 16:57:35 -08:00
2014-02-20 14:57:57 -08:00
2013-12-23 17:18:47 -08:00
2013-07-25 18:54:41 -07:00
2014-02-21 11:49:36 -08:00
2013-12-23 12:53:58 -08:00
2013-07-25 18:54:43 -07:00
2014-02-24 23:58:31 -08:00
2013-05-13 10:57:37 -07:00
2014-01-11 20:43:36 -08:00
2013-10-03 13:56:03 -07:00
2014-01-13 18:27:58 -08:00
2013-10-03 13:56:03 -07:00
2014-03-17 15:49:27 -07:00
2013-08-12 23:31:26 -07:00
2013-05-13 10:57:37 -07:00
2014-02-12 17:58:56 -08:00
2013-07-25 18:54:43 -07:00
2014-02-03 10:36:33 -08:00
2014-01-29 13:29:44 -08:00
2013-10-08 20:03:02 -07:00
2014-03-21 02:53:34 -07:00
2013-07-25 18:54:43 -07:00
2013-12-04 12:46:47 -08:00
2013-08-01 17:17:18 -07:00
2014-03-17 02:17:06 -07:00
2013-12-19 15:07:39 -08:00
2014-03-03 23:15:30 -08:00
2014-03-03 21:11:57 -08:00
2013-12-28 11:39:40 -06:00
2014-02-21 11:49:36 -08:00
2014-02-25 00:28:23 -08:00
2013-11-20 11:26:51 -08:00
2014-03-17 15:51:18 -07:00
2014-03-22 00:47:02 -07:00
2013-11-05 15:15:09 -08:00
2014-03-22 09:57:46 -07:00
2014-03-21 03:54:28 -07:00
2013-10-08 21:30:39 -07:00
2014-02-25 00:45:22 -08:00
2013-07-25 18:54:42 -07:00
2014-02-18 15:47:42 -08:00
2013-05-13 10:57:37 -07:00
2013-05-13 10:57:37 -07:00
2014-02-21 11:49:36 -08:00
2013-12-17 19:05:25 -08:00
2013-10-08 19:58:48 -07:00
2013-08-02 11:19:08 -07:00
2013-07-25 18:54:43 -07:00
2014-03-03 21:55:58 -08:00
2014-03-17 15:49:27 -07:00
2013-12-06 22:41:46 -08:00
2014-02-14 17:14:11 -08:00
2014-01-16 16:09:58 -08:00
2013-09-25 02:32:45 -07:00
2013-11-20 11:26:51 -08:00
2014-03-17 15:49:27 -07:00
2014-02-21 11:39:37 -08:00
2013-05-13 10:57:37 -07:00
2014-02-25 15:50:36 -08:00
2014-03-17 02:17:06 -07:00
2014-03-17 12:11:21 -07:00
2014-02-16 23:09:37 -08:00
2014-02-09 16:26:42 -05:00
2013-07-25 18:54:42 -07:00
2014-02-26 21:16:02 -08:00
2013-07-25 18:54:43 -07:00
2014-02-21 11:49:36 -08:00
2013-11-21 10:14:03 -08:00
2013-07-25 18:54:43 -07:00
2014-03-16 21:18:29 -07:00
2014-02-27 15:20:43 -08:00
2013-07-25 18:54:43 -07:00
2013-12-06 19:22:17 -08:00
2013-07-25 18:54:43 -07:00
2014-03-22 00:47:02 -07:00
2014-03-23 09:53:53 -07:00
2014-03-21 22:08:02 -07:00
2014-03-24 17:45:05 -07:00
2013-12-06 22:41:46 -08:00
2014-03-03 20:55:37 -08:00
2013-07-25 18:54:43 -07:00
2013-12-02 17:29:35 -08:00
2013-10-08 19:58:48 -07:00
2013-07-25 18:54:40 -07:00
2014-02-03 21:58:29 -08:00
2014-03-24 17:45:05 -07:00
2014-02-24 22:44:53 -08:00
2014-03-24 17:45:05 -07:00
2014-03-03 22:17:40 -08:00
2014-02-18 17:33:09 -08:00
2013-11-20 11:26:51 -08:00
2014-03-24 17:45:05 -07:00
2014-02-21 11:49:36 -08:00
2014-03-17 00:05:26 -07:00
2013-08-06 12:53:33 -07:00
2014-02-20 11:47:53 -08:00
2013-11-20 11:26:51 -08:00
2012-04-17 20:02:00 -07:00