|
Project Information
Featured
Downloads
|
This project is dead. The standards (HTML5, ECMA,...) are doing great! Working on Flux. LEAF is an open JavaScript project. Created to ease the development of Adobe AIR and web apps (even for mobile browsers)... gadgets, widgets and APIs. It is fully compatible with intellisense editors, like Aptana Studio, JSEclipse, Adobe Dreamweaver and others; just because it has a simple and well thinked data structure. Optimum compatibility, speed and size are the most important rules of this project. LEAF purpouse is to serve as core in JavaScript implementations. It has only easing and crossbrowser functions; the real needed with the best performance. You can download the current alpha version of LEAF. It's open source and you can modify, customize and mashup it with any other JavaScript. Collaborate to the project if you have advanced knowledge of JavaScript, DOM, XHTML and all the web context. Let's make a better LEAF together. Use and enjoy it!
- added ECMA 5 functions. These functions will work even on JavaScript 1.5: Soon... animation with easing equations.
leaf.addListener(window, 'load', function ()
{
var box = new leaf.ElementHandler(); // a handler full of features
// it's like a box, for optimum set/get
box.createElement('div', null, null, { // creates element inside the handler
width: '40px', // args: tagName, id, classNames:Array||String, cssObj:Object, content
height: '40px',
position: 'absolute'
},
'Hello Web'); // content set on creation too
box.setOpacity(0.5); // cross-browser (0.00 to 1.00)
box.append(); // quick element append (if no node is being passed, append to the <body>)
});
var xmlHttpRequester = leaf.createXHR(); // Native calls, very fast ActiveX setup
[0, 1, 2, 3] //.each, .map, .filter, .every and more from ECMA 5, even when using JavaScript 1.5!
alert(" text ".trim()); // ECMA 5 String.trim()! Even when using JavaScript 1.5 too!
|