Skip to content

Commit

Permalink
Added sample to the playground.
Browse files Browse the repository at this point in the history
  • Loading branch information
n1k0 committed Apr 4, 2016
1 parent e0b33b6 commit 66a1226
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions playground/samples/widgets.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ module.exports = {
}
}
},
datetime: {
type: "string",
format: "date-time"
},
secret: {
type: "string",
default: "I'm a hidden string."
Expand Down Expand Up @@ -69,6 +73,7 @@ module.exports = {
default: "Hello...",
textarea: "... World"
},
datetime: new Date().toJSON(),
secret: "I'm a hidden string."
}
};

0 comments on commit 66a1226

Please sign in to comment.