braid-text 0.2.55 → 0.2.57
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -109,7 +109,7 @@ Here's a basic running example to start:
|
|
|
109
109
|
<!-- 3. Wire it up -->
|
|
110
110
|
<script>
|
|
111
111
|
// Connect to server
|
|
112
|
-
var simpleton = simpleton_client('https://braid.org/
|
|
112
|
+
var simpleton = simpleton_client('https://braid.org/public-sandbox', {
|
|
113
113
|
on_state: state => my_textarea.value = state, // incoming changes
|
|
114
114
|
get_state: () => my_textarea.value // outgoing changes
|
|
115
115
|
})
|
|
@@ -165,7 +165,7 @@ var simpleton = simpleton_client(url, {
|
|
|
165
165
|
})
|
|
166
166
|
```
|
|
167
167
|
|
|
168
|
-
See [editor.html](https://github.com/braid-org/braid-text/blob/master/editor.html) for a complete example
|
|
168
|
+
See [editor.html](https://github.com/braid-org/braid-text/blob/master/editor.html) for a complete example.
|
|
169
169
|
|
|
170
170
|
## Client API
|
|
171
171
|
|