npm.io
0.1.0 • Published 10 years ago

ember-computed-template-string-parser

Licence
Apache-2.0
Version
0.1.0
Deps
0
Vulns
0
Weekly
0
Stars
1

ember-computed-template-string-parser

Build Status

This simple package converts a string such as:

"hello ${name}!"

into:

Ember.computed("name", function() { 
  return "hello " + this.get("name") + "!";
})

and is used in the ember-computed-template-string addon.