Browse Source

Update to Riot 3.9

cinaeco 7 years ago
parent
commit
c48adb626d
3 changed files with 7 additions and 8 deletions
  1. 0 1
      js/vendor/riot+compiler.min.js
  2. 3 3
      tags/terminal-ui.md
  3. 4 4
      tags/terminal-ui.tag

File diff suppressed because it is too large
+ 0 - 1
js/vendor/riot+compiler.min.js


+ 3 - 3
tags/terminal-ui.md

@@ -6,7 +6,7 @@ independently.
 
 ## Dependencies
 
-- [Riot](http://riotjs.com/) 2.3+
+- [Riot](http://riotjs.com/) 3.0+
 
 ## Usage
 
@@ -33,8 +33,8 @@ take priority over parameter values.
 ## Making A Shell Class
 
 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
 processing. Here is a minimal shell:

+ 4 - 4
tags/terminal-ui.tag

@@ -8,10 +8,10 @@
   </style>
 
   /**
-   * Create a new shell with the class name the terminal-ui tag was given.
-   * The terminal-ui tag itself is passed to this shell class.
-   * Being an Observable object, the terminal-ui tag transfers events between
-   * the shell and the other tags.
+   * Create a new shell object using the class name given to terminal-ui.
+   * The terminal-ui object is itself passed to this shell class.
+   * The terminal-ui object, being an Observable, allows the shell object and
+   * other tags to fire events to each other.
    */
   var shell = window[opts.shell] ? new window[opts.shell](this) : {}
   this.welcome = shell.welcome || opts.welcome

Some files were not shown because too many files changed in this diff