diff options
author | Mark Pulford <mark@kyne.com.au> | 2011-05-03 17:34:22 +0400 |
---|---|---|
committer | Mark Pulford <mark@kyne.com.au> | 2011-05-03 17:34:22 +0400 |
commit | 4146070e69475d5eedcf7a9e3d990e511f46ec7a (patch) | |
tree | 5e6bfa66ee9a1fc4ac4125f349c55a3d7c551e35 /tests/example3.json | |
parent | ce3a769dbdd13571b5b761d933e17e8fe5771739 (diff) |
Add basic JSON tests and benchmark
Diffstat (limited to 'tests/example3.json')
-rw-r--r-- | tests/example3.json | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/tests/example3.json b/tests/example3.json new file mode 100644 index 0000000..d7237a5 --- /dev/null +++ b/tests/example3.json @@ -0,0 +1,26 @@ +{"widget": { + "debug": "on", + "window": { + "title": "Sample Konfabulator Widget", + "name": "main_window", + "width": 500, + "height": 500 + }, + "image": { + "src": "Images/Sun.png", + "name": "sun1", + "hOffset": 250, + "vOffset": 250, + "alignment": "center" + }, + "text": { + "data": "Click Here", + "size": 36, + "style": "bold", + "name": "text1", + "hOffset": 250, + "vOffset": 100, + "alignment": "center", + "onMouseUp": "sun1.opacity = (sun1.opacity / 100) * 90;" + } +}} |