README revision b238e52ac22e07b0798ae7b0f63f3fe0e8f9bf95
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTrippThe YUI Global
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp Provides core YUI functionality, including module registration and consumption utils,
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp language/array/object utilities, browser detection, a setTimout/setInterval wrapper,
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp and dynamic loading of script and css files.
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp The yui module is a rollup yui-base (the core module registration/sandbox system and utilities),
9eaaa502227248d304ac9170902697d02158c1d9Tripp and the following optional submodules:
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp get (for dynamic script loading)
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp yui-log (out of the box console log support)
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp yui-later (timer abstraction)
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp throttle (performance utilitity)
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp yui-base contains
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp Module registration system
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp Lang
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp Object
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp Array
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp Core
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp3.1.0
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp* YUI will attempt to fetch newly discovered dependencies after a module is dynamically loaded.
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp* The document element (HTML) is now stamped with a class name (yui-js-enabled) indicating that JS is enabled allowing for the creation of JS-aware CSS style rules for Progressive Enhancement.
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp* Added the ability to define a global configuration object (YUI_config).
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp* Added Object.some()/Y.some()
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp* UA refinements for Chrome, Android and other browsers/platforms
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp* Inserted script nodes get charset="utf-8" by default.
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp* Added last() to Queue for LIFO support.
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp* Added thottle utility to buffer expensive functions that are called frequently.
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp* The callback to YUI.add gets the module name as the second parameter for
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp generic processing of similar modules.
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp* Added intl-base submodule to process the decision tree for selecting language
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp packs when dynamically loading internationalized modules.
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp* Y.guid generates identifiers that are safe to use as html attributes.
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp* Improved persistent messaging for missing modules/functionality.
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp* Bootstrapping improved to prevent simultaneous loading of resources when multiple instances are launched at the same moment.
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp* The YUI script source URL is read in order to try to dynamically determine the base path for loading resources on demand.
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp* The path to the loader and the version of the file to bootstrap is determined by the YUI script source.
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp* The core loads without errors in non-browser environments.
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp3.0.0
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp* Extracted the loader from the seed file. Instead, if loader not included, 'get' is included,
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp and dependencies are missing, the loader will be fetched before continuing.
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp* User agent detection is more granular. e.g., FireFox 3.5 reports gecko 1.91 rather than 1.9.
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp* Fixed UA.os.
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp* Added additional mobile device detection.
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp* Get utility attribute cleanup before purging nodes.
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp* cached accepts a parameter to refresh a cached value.
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp* yui-log and yui-later are now optional modules that are included with yui.js.
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp* queue-base is no longer a submodule of queue -- it is part of yui-base.
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp* All YUI submodules end up in the yui build directory.
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp* Dynamic loading can be disabled by setting the 'bootstrap' config to false.
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp3.0.0 beta 1
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp Core:
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp - Y.fail has been renamed to Y.error so that Y.fail can be used for the assertion
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp engine.
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp - Y.stamp now accepts a readOnly parameter to be used when you are only interested
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp in reading an existing guid rather than creating a new one.
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp - Y.stamp defends against stamping items that can't be stamped.
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp - Added to Object: values(), hasKey(), hasValue(), size(), getValue, setValue
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp (the latter are for manipulating nested values)
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp - Y.use calls are queued during dynamic loading.
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp - Added Y.cached for function memoizing
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp - added numericSort to Array
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp - The yui:log event broadcasts globally.
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp Lang:
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp - Added Lang.type (typeof abstraction), and refactored some 'is' methods to use it.
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp Get:
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp - Accepts an attribute collection config to apply to inserted nodes.
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp - id attributes are globally unique
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp - Now accepts purgethreshold as a config option. This will set the number of transactions
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp required before auto removing nodes from previous transactions (default is 20)
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp Loader:
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp - yuitest renamed to test, now requires collection
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp - lots of new module metadata
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp - added onCSS
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp - Loader requests are queued globally
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp - Accepts jsAttributes and cssAttributes configs for adding attributes to inserted nodes
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp - The force config
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp UA:
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp - Added 'secure' property for SSL detection
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp - Added 'os' property for windows vs mac detection
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp - Added Adobe Air and Google Caja detection
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp3.0.0pr2
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp Core:
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp - The initial dependency calculation should not allow automatic rollup.
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp - Y.fail with throw/rethrow errors by default (throwFail is now true).
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp - Y.namespace reverted to scrub YAHOO out if included as the first
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp level of the namespace.
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp - 'useConsole' config changed to useBrowserConsole
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp Array:
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp - Added Array.some
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp Get:
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp - Protects against trailing commas in array of files to load.
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp Loader:
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp - get requires yui-base
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp - loader requires get
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp - combo url build process defends against undefined modules
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp - Added combo handler support for CSS
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp - Filters are correctly applied to combo and fullpath urls
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp - Added compat, profiler, yuitest, widget, stylesheet, classnamemanager,
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp overlay, plugin, slider, console
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp - Added io submodules
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp - queue requires event
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp - Added submodule metadata logic
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp - Added plugin metadata logic
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp - Added skin metadata logic
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp3.0.0pr1
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp Initial release
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp