From b2cd8e6bfc069f0665806e0d42163fa810778747 Mon Sep 17 00:00:00 2001 From: Joey Hagedorn Date: Fri, 12 Jan 2007 21:49:23 +0000 Subject: Reporting system update to include browsing by config-item rather than host-only. This enables users of the system to track down where problems are occuring across the system by looking in a package and system oriented way, rather than a host centric view only. *It is expected to be useful to verify that critical security updates are applied.* Additionally this update includes a bunch of files (yet not complete) from the Yahoo User Interface Library. It is sparsely incorporated as the files are used. This library is BSD licensed and provides great capability for the web reports. It also will help when incorporating ajax technology in to the reports for performance improvements. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2660 ce84e21b-d406-0410-9b95-82705330c041 --- reports/site_media/yui/yahoo/README | 45 +++++++++ reports/site_media/yui/yahoo/yahoo-debug.js | 144 ++++++++++++++++++++++++++++ reports/site_media/yui/yahoo/yahoo-min.js | 12 +++ reports/site_media/yui/yahoo/yahoo.js | 143 +++++++++++++++++++++++++++ 4 files changed, 344 insertions(+) create mode 100644 reports/site_media/yui/yahoo/README create mode 100644 reports/site_media/yui/yahoo/yahoo-debug.js create mode 100644 reports/site_media/yui/yahoo/yahoo-min.js create mode 100644 reports/site_media/yui/yahoo/yahoo.js (limited to 'reports/site_media/yui/yahoo') diff --git a/reports/site_media/yui/yahoo/README b/reports/site_media/yui/yahoo/README new file mode 100644 index 000000000..5d9a85146 --- /dev/null +++ b/reports/site_media/yui/yahoo/README @@ -0,0 +1,45 @@ +YAHOO Global - Release Notes + +0.12.2 + + * No change + +0.12.1 + + * No change + +0.12.0 + + * Added YAHOO.augment, which copies all or part of the prototype of one + object to another. + + * YAHOO.namespace now can create multiple namespaces. + + * Added an optional third parameter to YAHOO.extend: overrides. It takes + an object literal of properties/methods to apply to the subclass + prototype, overriding the superclass if present. + +0.11.4 + + * Changed window.YAHOO = window.YAHOO || {} to + if (typeof YAHOO == "undefined") YAHOO = {} because the previous statement + contributed to a memory leak in IE6 when the library was hosted in an + iframe. + +0.11.3 + + * Changed var YAHOO = window.YAHOO || {} to window.YAHOO = window.YAHOO || {}. + This fixes an issue in IE where YAHOO would get overwritten if previously + defined via array notation (window["YAHOO"]). + +0.11.0 + + * Added YAHOO.extend, which provides an easy way to assign the prototype, + constructor, and superclass properties inheritance properties. It also + prevents the constructor of the superclass from being exectuted twice. + +0.10.0 + + * Added YAHOO.log that provides a safe way to plumb logging statements in + code that will work if the logging component isn't available. + diff --git a/reports/site_media/yui/yahoo/yahoo-debug.js b/reports/site_media/yui/yahoo/yahoo-debug.js new file mode 100644 index 000000000..e1f745ca8 --- /dev/null +++ b/reports/site_media/yui/yahoo/yahoo-debug.js @@ -0,0 +1,144 @@ +/* +Copyright (c) 2006, Yahoo! Inc. All rights reserved. +Code licensed under the BSD License: +http://developer.yahoo.net/yui/license.txt +version: 0.12.2 +*/ + +/** + * The YAHOO object is the single global object used by YUI Library. It + * contains utility function for setting up namespaces, inheritance, and + * logging. YAHOO.util, YAHOO.widget, and YAHOO.example are namespaces + * created automatically for and used by the library. + * @module yahoo + * @title YAHOO Global + */ + +if (typeof YAHOO == "undefined") { + /** + * The YAHOO global namespace object + * @class YAHOO + * @static + */ + var YAHOO = {}; +} + +/** + * Returns the namespace specified and creates it if it doesn't exist + *
+ * YAHOO.namespace("property.package");
+ * YAHOO.namespace("YAHOO.property.package");
+ * 
+ * Either of the above would create YAHOO.property, then + * YAHOO.property.package + * + * Be careful when naming packages. Reserved words may work in some browsers + * and not others. For instance, the following will fail in Safari: + *
+ * YAHOO.namespace("really.long.nested.namespace");
+ * 
+ * This fails because "long" is a future reserved word in ECMAScript + * + * @method namespace + * @static + * @param {String*} arguments 1-n namespaces to create + * @return {Object} A reference to the last namespace object created + */ +YAHOO.namespace = function() { + var a=arguments, o=null, i, j, d; + for (i=0; i + * YAHOO.namespace("property.package"); + * YAHOO.namespace("YAHOO.property.package"); + * + * Either of the above would create YAHOO.property, then + * YAHOO.property.package + * + * Be careful when naming packages. Reserved words may work in some browsers + * and not others. For instance, the following will fail in Safari: + *
+ * YAHOO.namespace("really.long.nested.namespace");
+ * 
+ * This fails because "long" is a future reserved word in ECMAScript + * + * @method namespace + * @static + * @param {String*} arguments 1-n namespaces to create + * @return {Object} A reference to the last namespace object created + */ +YAHOO.namespace = function() { + var a=arguments, o=null, i, j, d; + for (i=0; i