XULJet Helloworld
   HOME

TheInfoList



OR:

XULJet was an
open-source Open source is source code that is made freely available for possible modification and redistribution. Products include permission to use the source code, design documents, or content of the product. The open-source model is a decentralized sof ...
JavaScript
framework A framework is a generic term commonly referring to an essential supporting structure which other things are built on top of. Framework may refer to: Computing * Application framework, used to implement the structure of an application for an op ...
for the Mozilla XULRunner
run-time environment In computer programming, a runtime system or runtime environment is a sub-system that exists both in the computer where a program is created, as well as in the computers where the program is intended to be run. The name comes from the compile t ...
. 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.


Examples

Hello world in XULJet: var xuljet = require("lib/xuljet") var Main = function(aWindow) xuljet.inherits(Main, xuljet.Component) Main.prototype.render = function(xul) function main()


See also

* JavaScript * XUL * XULRunner * CommonJS


References


External links

*{{Official website, https://code.google.com/p/xuljet/
Javascript LibrariesXULJet mailing list
- general discussion about XULJet JavaScript libraries