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 <hr>32 changelog:33 <ol>34 <li>full read</li>35 <li>Modify existing items</li>36 <li>Refactor: change names</li>37 </ol>38 39
Este ShareCode tiene versiones:
- var mc = new MongoCollection(); ... (20/11/2014)
- var mc = new MongoCollection(); ... (13/11/2017)
Enlace
El enlace para compartir es: