xootools.js

Main loader script for the xootools library.  This handles importing the default Core.js and System.js XooTools componenents.  The rest of the components can be dynamically loaded by using XooTools.include().

License

MIT-style license.

Copyright

Copyright © 2008 [Bryan English] (http://bluelinecity.com/).

Code & Documentation

http://bluelinecity.com/software/xootools/

Example

<script src="chrome://xootools/content/xootools.js" />
<script>
XooTools.include('All');
</script>
Summary
Main loader script for the xootools library.
Convenience function for dynamically including js files.
Hash of XooTool components and their dependencies.
The entire XooTools Library
Loads all native class extensions: Array, Function, Number, String, Hash and Event.
Contains Array Prototypes like copy, each, contains, and remove.
Contains Function Prototypes like create, bind, pass, and delay.
Contains Number Prototypes like limit, round, times, and ceil.
Contains String Prototypes like camelCase, capitalize, test, and toInt.
Contains Hash Prototypes.
Contains the Event Class, to make the event object Crossbrowser.
Contains the Class Function for easily creating, extending, and implementing reusable Classes.
Contains Utility Classes that can be implemented into your own Classes to ease the execution of many common tasks.
Contains all the DOM related functions for element handling.
One of the most important items in MooTools.
Contains Element methods for dealing with events.
Contains methods for interacting with the styles of Elements in a fashionable way.
Contains methods to work with size, scroll, or positioning of Elements and the window object.
Contains a collection of utility functions: Selectors, JSON, Debug, JSON.JPath, Swiff, Md5
Adds advanced CSS-style querying capabilities for targeting HTML Elements.
JSON encoder and decoder.
General purpose debugging and logging class.
General purpose Md5 hashing function
JSON-xpath query methods.
A object to ease interacting with flash object.
Contains the basic animation logic to be extended by all other Fx Classes.
Contains the basic animation logic to be extended by all other Fx Classes.
Contains the CSS animation logic.
Formerly Fx.Style, effect to transition any CSS property for an element.
Formerly Fx.Styles, effect to transition any number of CSS properties for an element using an object of rules, or CSS based selector rules.
Contains a set of advanced transitions to be used with any of the Fx Classes.
General collection of storage classes
FileSystem Class to ease the pain of file management on XUL
Cache Class to cache arbitrary bits of data
Database class for use with sqlite xpcom object.
Contains all the networking components: Request
Powerful all purpose Request Class.
Extends the basic Request Class with additional methods for interacting with HTML responses.
Extends the basic Request Class with additional methods for sending and receiving JSON data.
Extends the basic Request Class with additional methods for sending and receiving XML E4X data.
Optional plugins not automatically included via the All keyword
Contains the base generator class for systems of units.
Contains Time class to work with time as standard unit.
Contains Pound class to work with the Pound as an imperial unit
Convienence class for accessing the XOXO microformat outline format

Functions

$include

function $include(js)

Convenience function for dynamically including js files.

Parameters

jsString, full chrome url to javascript file.

XooTools. Components

Hash of XooTool components and their dependencies.  Used in XooTools.include() to load components of the xootools library.

Summary
The entire XooTools Library
Loads all native class extensions: Array, Function, Number, String, Hash and Event.
Contains Array Prototypes like copy, each, contains, and remove.
Contains Function Prototypes like create, bind, pass, and delay.
Contains Number Prototypes like limit, round, times, and ceil.
Contains String Prototypes like camelCase, capitalize, test, and toInt.
Contains Hash Prototypes.
Contains the Event Class, to make the event object Crossbrowser.
Contains the Class Function for easily creating, extending, and implementing reusable Classes.
Contains Utility Classes that can be implemented into your own Classes to ease the execution of many common tasks.
Contains all the DOM related functions for element handling.
One of the most important items in MooTools.
Contains Element methods for dealing with events.
Contains methods for interacting with the styles of Elements in a fashionable way.
Contains methods to work with size, scroll, or positioning of Elements and the window object.
Contains a collection of utility functions: Selectors, JSON, Debug, JSON.JPath, Swiff, Md5
Adds advanced CSS-style querying capabilities for targeting HTML Elements.
JSON encoder and decoder.
General purpose debugging and logging class.
General purpose Md5 hashing function
JSON-xpath query methods.
A object to ease interacting with flash object.
Contains the basic animation logic to be extended by all other Fx Classes.
Contains the basic animation logic to be extended by all other Fx Classes.
Contains the CSS animation logic.
Formerly Fx.Style, effect to transition any CSS property for an element.
Formerly Fx.Styles, effect to transition any number of CSS properties for an element using an object of rules, or CSS based selector rules.
Contains a set of advanced transitions to be used with any of the Fx Classes.
General collection of storage classes
FileSystem Class to ease the pain of file management on XUL
Cache Class to cache arbitrary bits of data
Database class for use with sqlite xpcom object.
Contains all the networking components: Request
Powerful all purpose Request Class.
Extends the basic Request Class with additional methods for interacting with HTML responses.
Extends the basic Request Class with additional methods for sending and receiving JSON data.
Extends the basic Request Class with additional methods for sending and receiving XML E4X data.

Properties

All

The entire XooTools Library

Native

Loads all native class extensions: Array, Function, Number, String, Hash and Event.

Array

Contains Array Prototypes like copy, each, contains, and remove.

Function

Contains Function Prototypes like create, bind, pass, and delay.

Number

Contains Number Prototypes like limit, round, times, and ceil.

String

Contains String Prototypes like camelCase, capitalize, test, and toInt.

Hash

Contains Hash Prototypes.  Provides a means for overcoming the JavaScript practical impossibility of extending native Objects.

Event

Contains the Event Class, to make the event object Crossbrowser.

Class

Contains the Class Function for easily creating, extending, and implementing reusable Classes.

Class. Extras

Contains Utility Classes that can be implemented into your own Classes to ease the execution of many common tasks.

Dom

Contains all the DOM related functions for element handling.

Element

One of the most important items in MooTools.  Contains the dollar function, the dollars function, and an handful of cross-browser, time-saver methods to let you easily work with HTML Elements.

Element. Event

Contains Element methods for dealing with events.  This file also includes mouseenter and mouseleave custom Element Events.

Element. Style

Contains methods for interacting with the styles of Elements in a fashionable way.

Element. Dimensions

Contains methods to work with size, scroll, or positioning of Elements and the window object.

Utilities

Contains a collection of utility functions: Selectors, JSON, Debug, JSON.JPath, Swiff, Md5

Selectors

Adds advanced CSS-style querying capabilities for targeting HTML Elements.  Includes pseudo selectors.

JSON

JSON encoder and decoder.

Debug

General purpose debugging and logging class.

Md5

General purpose Md5 hashing function

JSON. JPath

JSON-xpath query methods.

Swiff

A object to ease interacting with flash object.

Fx

Contains the basic animation logic to be extended by all other Fx Classes.

Fx.Core

Contains the basic animation logic to be extended by all other Fx Classes.

Fx.CSS

Contains the CSS animation logic.  Used by Fx.Tween, Fx.Morph, Fx.Elements.

Fx. Tween

Formerly Fx.Style, effect to transition any CSS property for an element.

Fx. Morph

Formerly Fx.Styles, effect to transition any number of CSS properties for an element using an object of rules, or CSS based selector rules.

Fx. Transitions

Contains a set of advanced transitions to be used with any of the Fx Classes.

Storage

General collection of storage classes

Fs

FileSystem Class to ease the pain of file management on XUL

Cache

Cache Class to cache arbitrary bits of data

Db

Database class for use with sqlite xpcom object.

Network

Contains all the networking components: Request

Request

Powerful all purpose Request Class.  Uses XMLHTTPRequest.

Request.XUL

Extends the basic Request Class with additional methods for interacting with HTML responses.

Request.JSON

Extends the basic Request Class with additional methods for sending and receiving JSON data.

Request.XML

Extends the basic Request Class with additional methods for sending and receiving XML E4X data.

Plugins

Optional plugins not automatically included via the All keyword

Summary
Contains the base generator class for systems of units.
Contains Time class to work with time as standard unit.
Contains Pound class to work with the Pound as an imperial unit
Convienence class for accessing the XOXO microformat outline format

Properties

Unit

Contains the base generator class for systems of units.

Time

Contains Time class to work with time as standard unit.

Pound

Contains Pound class to work with the Pound as an imperial unit

XOXO

Convienence class for accessing the XOXO microformat outline format

function $include(js)
Convenience function for dynamically including js files.
The System Core.
include: function(comp)
XooTool’s specific include function.