|
XULJet is an open-source JavaScript framework for the Mozilla XULRunner run-time environment. It is intended for writing desktop applications in pure JavaScript. XULJet provides a component architecture and user interface elements description inspired by Seaside. It implements some CommonJS specifications.〔http://wiki.commonjs.org/wiki/Implementations/XULJet〕 == Examples == Hello world in XULJet:right var xuljet = require('lib/xuljet'); var Main = function(aWindow) xuljet.inherits(Main, xuljet.Component); Main.prototype.render = function(xul) , xul.menupopup( xul.menuitem())))), xul.vbox(, xul.description(, "Press the button"), xul.button())) } } function main() 抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)』 ■ウィキペディアで「XULJet」の詳細全文を読む スポンサード リンク
|