Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cibernox/ember-hash-helper-polyfill
Polyfill for the new Ember hash helper
https://github.com/cibernox/ember-hash-helper-polyfill
Last synced: about 2 months ago
JSON representation
Polyfill for the new Ember hash helper
- Host: GitHub
- URL: https://github.com/cibernox/ember-hash-helper-polyfill
- Owner: cibernox
- License: mit
- Created: 2015-10-25T23:40:19.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2018-01-04T15:05:47.000Z (almost 7 years ago)
- Last Synced: 2024-10-18T07:58:52.228Z (3 months ago)
- Language: JavaScript
- Size: 20.5 KB
- Stars: 15
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Ember-hash-helper-polyfill
This is a polyfill to backport Ember's new `hash` helper introduced in [Ember 2.3](https://github.com/emberjs/ember.js/blob/master/packages/ember-htmlbars/lib/helpers/hash.js)
into Ember 1.13, 2.0, 2.1 and 2.2.## Installation
In your project run:
`ember install ember-hash-helper-polyfill`
If you want to use this helper inside an addon remember to move it from the `devDependencies` to
the `dependencies` group of your package.json## Usage
```handlebars
{{yield (hash
name='Sarah'
title=office
)}}
```