mirror of
https://github.com/amark/gun.git
synced 2025-03-30 15:08:33 +00:00
updated examples!
This commit is contained in:
parent
c804df9b77
commit
7453d858a4
@ -70,7 +70,7 @@
|
||||
<script src="/gun.js"></script>
|
||||
<script>
|
||||
var gun = Gun(location.origin+'/gun');
|
||||
var chat = gun.get('ex/test3/converse');
|
||||
var chat = gun.get('converse');
|
||||
chat.map().val(function(msg, field){
|
||||
var ul = $('ul'), last = sort(field, ul.children('li').last()), li;
|
||||
li = $($("#msg-" + field)[0] || $('.model li').clone(true).attr('id', 'msg-'+field).insertAfter(last));
|
||||
|
Loading…
x
Reference in New Issue
Block a user