|
@@ -6,7 +6,7 @@ independently.
|
|
|
|
|
|
|
|
## Dependencies
|
|
## Dependencies
|
|
|
|
|
|
|
|
-- [Riot](http://riotjs.com/) 2.3+
|
|
|
|
|
|
|
+- [Riot](http://riotjs.com/) 3.0+
|
|
|
|
|
|
|
|
## Usage
|
|
## Usage
|
|
|
|
|
|
|
@@ -33,8 +33,8 @@ take priority over parameter values.
|
|
|
## Making A Shell Class
|
|
## Making A Shell Class
|
|
|
|
|
|
|
|
A shell class should be defined before the tag is mounted by riot. It should
|
|
A shell class should be defined before the tag is mounted by riot. It should
|
|
|
-expect a single parameter (the terminal-ui tag itself) which will be an observable
|
|
|
|
|
-object.
|
|
|
|
|
|
|
+expect a single parameter (the terminal-ui tag itself) which will be an
|
|
|
|
|
+observable object.
|
|
|
|
|
|
|
|
This observable will emit `'cmd_entered'` events containing input for
|
|
This observable will emit `'cmd_entered'` events containing input for
|
|
|
processing. Here is a minimal shell:
|
|
processing. Here is a minimal shell:
|