Fix dates array declaration in example data

This commit is contained in:
michacom
2015-06-11 18:06:03 +03:00
parent ba0cb39f12
commit 790a496fc7
+1 -1
View File
@@ -86,7 +86,7 @@ To make this magic happen, you need some code like this:
// Set up some placeholder values matching the placeholders in the template
var values = {
extractDate: new Date(),
dates: new Date("2013-06-01"), new Date("2013-06-02"), new Date("2013-06-03"),
dates: [ new Date("2013-06-01"), new Date("2013-06-02"), new Date("2013-06-03") ],
people: [
{name: "John Smith", age: 20},
{name: "Bob Johnson", age: 22}