/meteor-ui-obj

Port of some underscore-js functions for meteor ui.

Primary LanguageCoffeeScriptMIT LicenseMIT

ui-obj

Build Status

Easily create plain objects with computed keys as meteor ui helper.

Useful to set the context of the current scope e.g. for iron-router paths.

{{#with $obj "one" 1 "two" 2}}

sets context to

{one: 1, two: 2}

Merge the context within a each block with the outer context

{{#each items}}
  {{#with $obj .. .}}