mirror of
https://github.com/flynx/actions.js.git
synced 2025-10-28 18:00:11 +00:00
working on docs..
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
36e767b1ff
commit
f7985d5f9f
26
README.md
26
README.md
@ -454,6 +454,18 @@ and feature-to-feature dependencies.
|
||||
|
||||
```javascript
|
||||
var feature_set = new FeatureSet()
|
||||
|
||||
|
||||
// define features...
|
||||
// ...
|
||||
|
||||
|
||||
// setup features...
|
||||
feature_set
|
||||
.setup([
|
||||
'feature-tag',
|
||||
//...
|
||||
])
|
||||
```
|
||||
|
||||
XXX
|
||||
@ -511,4 +523,18 @@ XXX
|
||||
|
||||
|
||||
|
||||
**Meta-features**
|
||||
```javascript
|
||||
// meta-feature...
|
||||
feature_set.Feature('meta-feature-tag', [
|
||||
'suggested-feature-tag',
|
||||
'other-suggested-feature-tag',
|
||||
// ...
|
||||
])
|
||||
```
|
||||
|
||||
XXX
|
||||
|
||||
|
||||
|
||||
<!-- vim:set ts=4 sw=4 spell : -->
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user