Skip to content

Instantly share code, notes, and snippets.

@michaelBenin
Created August 7, 2013 15:41
Show Gist options
  • Save michaelBenin/6175250 to your computer and use it in GitHub Desktop.
Save michaelBenin/6175250 to your computer and use it in GitHub Desktop.
Todos for grunt tasks
grunt-json-htmltemplate:
- readme needs to show me why I need this. If i were to stumble upon it I would have no idea what I would use it for.
- task name in the grunt config should be camelCase for JS consistency: `json_html_template` => `jsonHtmlTemplate`
- package.json: You need `gruntplugin` as a keyword for it to show up in the grunt plugin page
- use `this.files`, instead of this.data.src/this.data.dest
- You could use grunt.util.async.forEach to make it faster
- make sure to include tests when done.
grunt-browser-dependencies
- grunt.util.async.forEach would be much better suited for handling parallell downloads than a custom hacky solution.
- otherwise the same as above.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment