Browse Source

Syntactic sugar change reflected in README.

Herbert Vojčík 9 years ago
parent
commit
6b2989a97c
1 changed files with 4 additions and 4 deletions
  1. 4 4
      README.md

+ 4 - 4
README.md

@@ -1,6 +1,6 @@
 1 Introduction
 ====
-[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/herby/trapped?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
+[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/herby/trapped?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
 
 Inspired by the idea that was present in AngularJS,
 Trapped is an Amber that creates bidirectional data-biuding
@@ -115,8 +115,8 @@ For example paths `#((value))` and `#((todos) 1 done)` from API examples
 in previous chapter could be written in `data-trap` as `'(value)'` and `'(todos) 1 done'`.
 
 Syntactic sugar: as `(foo)` happens often in `data-trap` expressions,
-it can be written equivalently as `#foo`, to improve readability.
-So above paths would likely be written `#value` and `#todos 1 done` instead.
+it can be written equivalently as `~foo`, to improve readability.
+So above paths would likely be written `~value` and `~todos 1 done` instead.
 
 Semantics of path
 ----
@@ -183,7 +183,7 @@ In the moment, `TrappedProcessor` class itself serves as a factory.
  - using odd-element  _array_ processing element description other than one-element
  	is useless and produces an error (currently silent).
 
-Note: thus, in processing chain descriptors, `contents`, `#contents` and `(contents)`
+Note: thus, in processing chain descriptors, `contents`, `~contents` and `(contents)`
 describe the same one-element processing chain where the lone processing element
 is created inside Trapped by running `TrappedProcessor contents`.