14 var widgetLibrary = widgetLibrary || {};
15 widgetLibrary.typeToSrc = {
"0" :
"widgets/widget_text.html",
16 "1" :
"widgets/widget_basicDisplay.html",
17 "2" :
"widgets/widget_testHJones.html",
20 "5" :
"widgets/thermometer.html",
29 widgetLibrary.typeToImgSrc = {
30 "2" :
"switch-icon.png",
31 "3" :
"Alarm-clock-icon.png",
32 "4" :
"digital-clock-icon.png",
33 "5" :
"thermometer-icon.png"
35 widgetLibrary.typeToPurpose = {
37 "1" :
"Basic Display",
38 "2" :
"Hakeem's Widet",
43 widgetLibrary.init =
function()