ribcage-gen
Advanced tools
Comparing version 0.2.1 to 0.2.2
@@ -13,3 +13,3 @@ var Base = require('ribcage-view') | ||
, State = State.extend({ | ||
, State: State.extend({ | ||
props: { | ||
@@ -21,3 +21,3 @@ | ||
, events: { | ||
'keyup input': 'onInputKeyup' | ||
// 'keyup input': 'onInputKeyup' | ||
} | ||
@@ -51,3 +51,3 @@ | ||
, beforeInit: function beforeInit(options){ | ||
this.state = new this.State(_.omit(options, ['model', 'collection']) | ||
this.state = new this.State(_.omit(options, ['model', 'collection'])) | ||
} | ||
@@ -54,0 +54,0 @@ |
# {{PascalName}} | ||
Describe what this component does! | ||
## Usage | ||
@@ -14,13 +16,26 @@ ```js | ||
## Options | ||
## JS Options | ||
### `<String> option` **Required** | ||
Defaults to "hi". Controls X. | ||
### JS | ||
## JS Methods | ||
### `doesThings(<Number> arg)` | ||
Does X. Arg is used for Y. Returns Z. | ||
### CSS | ||
## JS Events | ||
### eventName `(<Number> arg)` | ||
Emitted when Z happens. `arg` is a Y. | ||
## Methods | ||
## CSS Variables | ||
## CSS Classes | ||
CSS classes that might be useful for the outside world. Probably not too useful if this is mostly a JS component. | ||
## Tests | ||
Tests are in [prova](https://github.com/azer/prova). | ||
Tests are in [prova](https://github.com/azer/prova). You can run them with: | ||
```bash | ||
prova -b -e -l chrome -t hbsfy test.js | ||
``` | ||
## Developing | ||
@@ -27,0 +42,0 @@ Install [ribcage](https://github.com/Techwraith/ribcage) |
{ | ||
"name": "ribcage-gen", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "A generator script for ribcage components", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
7507
159