Skip to content

Commit

Permalink
Merge pull request #147 from andyburke/master
Browse files Browse the repository at this point in the history
Make hogan.js component-compatible
  • Loading branch information
sayrer committed Jun 29, 2013
2 parents 78d2447 + 045e383 commit d318828
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,20 @@ Why another templating library?
Hogan.js was written to meet three templating library requirements: good
performance, standalone template objects, and a parser API.

## Install

# Node.js

```
npm install hogan.js
```

# component

```
component install twitter/hogan.js
```

## Compilation options

The second argument to Hogan.compile is an options hash.
Expand Down
23 changes: 23 additions & 0 deletions component.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"name": "hogan.js"
, "description": "A mustache compiler."
, "version": "3.0.0"
, "keywords": ["mustache", "template"]
, "main": "lib/hogan.js"
, "scripts": [
"lib/compiler.js",
"lib/hogan.js",
"lib/template.js"
]
, "homepage": "http://twitter.github.com/hogan.js/"
, "author": "Twitter Inc."
, "repository": {
"type": "git"
, "url": "https://github.com/twitter/hogan.js.git"
}
, "licenses": [
{ "type": "Apache-2.0"
, "url": "http://www.apache.org/licenses/LICENSE-2.0"
}
]
}

0 comments on commit d318828

Please sign in to comment.