tamino-martinius / meteor-ui-obj

Port of some underscore-js functions for meteor ui.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 .. .}}

About

Port of some underscore-js functions for meteor ui.

License:MIT License


Languages

Language:CoffeeScript 41.6%Language:HTML 29.6%Language:JavaScript 28.8%