Description:
A discussion list for the open-source Chiron JavaScript library.
|
|
|
Lunch, San Francisco Bay Area, June 27
|
| |
I'll be in the Bay Area in a few weeks. If anyone would like to meet up on Saturday, June 27th to confabulate on SSJS, modules, or cetacean dental hygiene, I'm planning to meet at least Tom for lunch somewhere between Redwood City and Mountain View. Kris Kowal
|
|
Asynchronous module loading
|
| |
I am in the process of incorporating chiron into my own project
(Firefox Extension) to provide module loading capabilities and a
comprehensive set of base modules.
The extension creates sandboxes (XUL:browser) for given origin domains
and inserts chiron as well as app code into the sandboxed page.... more »
|
|
Jacaranda and modules
|
| |
Hi folks, Jacaranda is a statically verifiable secure JavaScript variant by David-Sarah Hopwood (cc:'d). The following is the latest complete spec
|
|
An idea about creating sandboxes.
|
| |
Ihab, I think we've agreed that the "require" object is a sandbox, which closes over and contains a "load" function, which can safely pass from parent to child sandbox without leaking capabilities since it only renders module constructor functions, and a params object which contains capability objects that the sandbox creator must explicitly... more »
|
|
Imports vs. loaded modules
|
| |
...That's a fine place to start. Do you recommend a provisional syntax for the distinction? Does this imply that we should use a completely distinct syntax for sandbox slurping and module importing, or that we should partition the name spaces for a single "from import as using/with" syntax? Kris P.S. - the context for this thread is that Ihab and I had a phone call... more »
|
|
Modules for a future ECMAScript
|
| |
Ihab Awad, from the team at Google that makes Caja, and I have had an extended discussion over the last year about modules in JavaScript. We've discovered a mutual interest in assuring that, if modules do become an integral component of the JavaScript language, that the modules satisfy certain requirements. Ihab is a proponent of... more »
|
|
Pixastic in Chiron
|
| |
Jacob, I've ported Pixastic to Chiron, a system of modular JavaScripts. Here's the diff for the port: [link] I've taken some liberties with the API. Particularly, actions are managed by the module loader, and instead of automatically crawling the DOM, it exports "processElement" and "processDom". "modules.js"... more »
|
|
Chiron on Google Code
|
| |
I put Chiron's Subversion repository on Google Code last night. [link] or [link] If you have a checkout, you'll need to move to the new one. svn co [link] chiron Unfortunately, "svn switch --relocate" won't work because the Google... more »
|
|
Help System Works Again
|
| |
The help system works again in the latest builds. You can call help on any function exported by a module and get a description of the function built from its comment docs. [link] ...This only works for builds. I revamped the build system a couple days ago. Parts of the build process require java (for YUICompressor) and... more »
|
|
Zip JavaScript
|
| |
Thanks. I've integrated the zip library into Chiron. In the process, I broke it, but I'm looking into it. Chiron already has modules for base64 and utf8 encoding, binary packing, and crc32 hashing, so I used those. I also separated the AJAX logic since there are other modules that do that in Chiron and it's pretty trivial to weave them into... more »
|
|
|