/ember-possessive

Primary LanguageJavaScriptMIT LicenseMIT

Ember-possessive

A simple Ember helper that lets you get a possessive form of a string for use in templates.

Courtesy of ruby possessive gem.

How to use

{{possessive 'Chris'}}

Re-usability

You can re-use the function used to make a string possessive by importing the function a la:

import possessive from 'ember-possessive/utils/possessive';

Enjoy!

Installation

  • git clone this repository
  • npm install
  • bower install

Running

Running Tests

  • npm test (Runs ember try:testall to test your addon against multiple Ember versions)
  • ember test
  • ember test --server

Building

  • ember build

For more information on using ember-cli, visit http://ember-cli.com/.