1 <div id="container"></div>2 3 <script>4 var mc = new MongoCollection();5 document.getElementById("container").appendChild(mc.dom);6 7 var data = [8 {9 _id: '23434',10 undefined: undefined,11 null: null,12 bool: true,13 string: 'hello',14 number: 123.4,15 object: {16 one: "the first",17 two: "the seconde",18 three: "the third",19 four: "the fourth",20 enabled: false,21 },22 array: [1,2,3],23 marked: true,24 unmarked: false,25 },26 ];27 28 mc.SetData(data);29 </script>30 31 changelog:32 <ol>33 <li>full read</li>34 <li>Modify existing items</li>35 </ol>36 37
Este ShareCode tiene versiones:
- var mc = new MongoCollection(); ... (17/07/2014)
- var mc = new MongoCollection(); ... (13/11/2017)
Enlace
El enlace para compartir es: