Created
April 29, 2011 11:32
-
-
Save almet/948186 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// default ports | |
const data = require("self").data; | |
const panels = require("panel"); | |
const widgets = require("widget"); | |
exports.main = function(options, callbacks){ | |
// manage widget | |
var widget = widgets.Widget({ | |
id: "main", | |
label: 'Suggest!', | |
contentURL: data.url('img/icon_active.png'), | |
panel: panels.Panel({ | |
id: "options", | |
width: 400, | |
height: 400, | |
contentUrl: data.url("templates/options.html") | |
}) | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment