grunt-emberify
Advanced tools
Comparing version 0.1.2 to 0.1.3
{ | ||
"name": "grunt-emberify", | ||
"description": "Precompile handlebars templates and concatenate all Ember files.", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"homepage": "https://github.com/gyllstromk/grunt-emberify", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -1,9 +0,11 @@ | ||
# grunt-handlebars | ||
# grunt-emberify: Precompile your Ember Handlebars and assign to Ember.TEMPLATES | ||
Precompile handlebars templates. Written in 100% pure JS. | ||
Precompile handlebars templates to a single JS file where templates are saved to Ember.TEMPLATES. | ||
## Getting Started | ||
Install this grunt plugin next to your project's [grunt.js gruntfile][getting_started] with: `npm install grunt-handlebars-js` | ||
Install this grunt plugin next to your project's [grunt.js gruntfile][getting_started] with: | ||
npm install grunt-emberify | ||
Then add this line to your project's `grunt.js` gruntfile: | ||
@@ -16,3 +18,3 @@ | ||
handlebars: { | ||
'dest.js': [ 'client/lib/**.handlebars' ] | ||
'allMyTemplates.js': [ 'client/lib/**.handlebars' ] | ||
}, | ||
@@ -24,3 +26,3 @@ | ||
grunt.loadNpmTasks('grunt-handlebars-js'); | ||
grunt.loadNpmTasks('grunt-emberify'); | ||
``` | ||
@@ -34,10 +36,5 @@ | ||
## Contributing | ||
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [grunt][grunt]. | ||
## Release History | ||
_(Nothing yet)_ | ||
## License | ||
Copyright (c) 2012 Karl Gyllstrom | ||
Licensed under the MIT license. |
@@ -32,3 +32,3 @@ /* | ||
return util.format('Ember.TEMPLATES[\'%s\'] = %s\n', templateName, | ||
return util.format('Ember.TEMPLATES[\'%s\'] = %s;\n', templateName, | ||
templates[templateName]); | ||
@@ -35,0 +35,0 @@ }), this.async()); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5737
38