update examples
parent
8ba13eda91
commit
4c9283d89a
|
|
@ -4,9 +4,9 @@
|
||||||
"icon": "widget.png",
|
"icon": "widget.png",
|
||||||
"version":"0.01",
|
"version":"0.01",
|
||||||
"description": "A detailed description of my great widget",
|
"description": "A detailed description of my great widget",
|
||||||
"tags": "",
|
"tags": "widget",
|
||||||
"storage": [
|
"storage": [
|
||||||
{"name":"+7chname","url":"widget.json"},
|
{"name":"+7chname","url":"widget.json"},
|
||||||
{"name":"-7chname","url":"widget.js"},
|
{"name":"-7chname","url":"widget.js"}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,7 @@ currently-running apps */
|
||||||
|
|
||||||
// draw your widget at xpos
|
// draw your widget at xpos
|
||||||
function draw() {
|
function draw() {
|
||||||
|
g.reset(); // reset the graphics context to defaults (color/font/etc)
|
||||||
// add your code
|
// add your code
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue