You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by we...@apache.org on 2009/06/05 13:44:15 UTC

svn commit: r781990 - in /myfaces/core/branches/2_0_0/api: ./ src/main/javascript/META-INF/resources/myfaces/_impl/_util/ src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/ src/main/javascript/META-INF/resources/myfaces/api/

Author: werpu
Date: Fri Jun  5 11:44:14 2009
New Revision: 781990

URL: http://svn.apache.org/viewvc?rev=781990&view=rev
Log:
https://issues.apache.org/jira/browse/MYFACES-2172

Smaller fixups to make the YUI compressor work again,
also the code is somewhat cleaned up, there were some invalid chars
and other annoyances which the YUI compressor choked upon,
it now works again, have much fun!

Modified:
    myfaces/core/branches/2_0_0/api/pom.xml
    myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_HtmlStripper.js
    myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_LangUtils.js
    myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_ListenerQueue.js
    myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_SimpleHtmlParser.js
    myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_Utils.js
    myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxRequest.js
    myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxResponse.js
    myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxUtils.js
    myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_xhrCoreAdapter.js
    myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/myfaces/api/OpenAjax.js
    myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/myfaces/api/jsf.js

Modified: myfaces/core/branches/2_0_0/api/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2_0_0/api/pom.xml?rev=781990&r1=781989&r2=781990&view=diff
==============================================================================
--- myfaces/core/branches/2_0_0/api/pom.xml (original)
+++ myfaces/core/branches/2_0_0/api/pom.xml Fri Jun  5 11:44:14 2009
@@ -51,7 +51,7 @@
 
                         <configuration>
                             <scripts>target/classes/META-INF/resources/javax/faces/ajax/</scripts>
-                            <compressor>yahooui</compressor>                                                
+                            <compressor>yahooUI</compressor>
                         </configuration>
                     </execution>
                 </executions>

Modified: myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_HtmlStripper.js
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_HtmlStripper.js?rev=781990&r1=781989&r2=781990&view=diff
==============================================================================
--- myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_HtmlStripper.js (original)
+++ myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_HtmlStripper.js Fri Jun  5 11:44:14 2009
@@ -189,7 +189,7 @@
     myfaces._impl._util._HtmlStripper.prototype.handleDocDefinition = function() {
         this._skipBlank();
 
-        if(this._tokenPos >= this.tokens.length || this._tokenPos < 0 ) {
+        if(this._tokenPos >= this.tokens.length || this._tokenPos < 0 ) {
             throw new Error("Document end reached prematurely");
         }
         var len = this.tokens.length;
@@ -234,7 +234,7 @@
         while(this.tokens[this._tokenPos] != ">") {
             this._skipBlank(1);
             var token = this._getCurrentToken();
-            if((token == "'" || token == '"') && this._isStringStart()) {
+            if((token == "'" || token == '"') && this._isStringStart()) {
                 this.handleString(token);
             }
         }
@@ -253,7 +253,7 @@
     myfaces._impl._util._HtmlStripper.prototype._isStringStart = function() {
         var backTrack = (this._tokenPos > 0)? this.tokens[this._tokenPos-1]:null;
         var token = this.tokens[this._tokenPos];
-        return (token == "'" || token == '"') && backTrack != "\\";
+        return (token == "'" || token == '"') && backTrack != "\\";
     };
 
    

Modified: myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_LangUtils.js
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_LangUtils.js?rev=781990&r1=781989&r2=781990&view=diff
==============================================================================
--- myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_LangUtils.js (original)
+++ myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_LangUtils.js Fri Jun  5 11:44:14 2009
@@ -19,7 +19,7 @@
  * fixing the namespaces
  */
 function _reserveMyfacesNamespaces() {
-   /**
+    /**
      *
      * reserve the namespaces used by the myfaces core
      */
@@ -72,7 +72,7 @@
 
     myfaces._impl._util._LangUtils.isUnderTest = function() {
         return this._underTest;
-    }
+    };
 
 
     myfaces._impl._util._LangUtils.byId = function(/*object*/ reference) {
@@ -80,7 +80,7 @@
             return document.getElementById(reference);
         }
         return reference;
-    },
+    };
 
     /**
      * backported from dojo
@@ -89,7 +89,7 @@
      * @param {Object} obj the object to "arrayify". We expect the object to have, at a
      minimum, a length property which corresponds to integer-indexed
      properties.
-     * @param {Number}Êoffset the location in obj to start iterating from. Defaults to 0.
+     * @param {int} offset the location in obj to start iterating from. Defaults to 0.
      Optional.
      * @param {Array} startWith An array to pack with the properties of obj. If provided,
      properties in obj are appended at the end of startWith and
@@ -155,7 +155,7 @@
      */
     myfaces._impl._util._LangUtils.trim = function(/*string*/ str) {
 
-        var	str = str.replace(/^\s\s*/, ''),
+        str = str.replace(/^\s\s*/, ''),
         ws = /\s/,
         i = str.length;
         while (ws.test(str.charAt(--i)));
@@ -271,18 +271,19 @@
     /**
      * Helper function to merge two maps
      * into one
-     * @param dest the destination map
-     * @param source the source map
-     * @param overwriteDest if set to true the destination is overwritten if the keys exist in both maps
+     * @param {Map}Êdestination the destination map
+     * @param {Map}Êsource the source map
+     * @param {boolean} overwriteDest if set to true the destination is overwritten if the keys exist in both maps
      **/
-    myfaces._impl._util._LangUtils.mixMaps = function(/*map*/ destination, /*map*/source, /*boolean*/ overwriteDest) {
+    myfaces._impl._util._LangUtils.mixMaps = function(destination, source, overwriteDest) {
         /**
          * mixin code depending on the state of dest and the overwrite param
          */
         var _JSF2Utils = myfaces._impl._util._LangUtils;
         var result = {};
         var keyIdx = {};
-        for(var key in source) {
+        var key = null;
+        for(key in source) {
             /**
            *we always overwrite dest with source
            *unless overWrite is not set or source does not exist
@@ -300,7 +301,7 @@
             }
             keyIdx[key] = true;
         }
-        for(var key in destination) {
+        for(key in destination) {
             /*if result.key does not exist we push in dest.key*/
             result[key] = _JSF2Utils.exists(result,key) ? result[key] : destination[key];
         }
@@ -327,7 +328,7 @@
             }
         }
         return false;
-    },
+    };
 
     /**
      * Concatenates an array to a string

Modified: myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_ListenerQueue.js
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_ListenerQueue.js?rev=781990&r1=781989&r2=781990&view=diff
==============================================================================
--- myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_ListenerQueue.js (original)
+++ myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_ListenerQueue.js Fri Jun  5 11:44:14 2009
@@ -79,4 +79,4 @@
             this._queue[cnt].apply(null, arguments);
         }
     }
-};
\ No newline at end of file
+}
\ No newline at end of file

Modified: myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_SimpleHtmlParser.js
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_SimpleHtmlParser.js?rev=781990&r1=781989&r2=781990&view=diff
==============================================================================
--- myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_SimpleHtmlParser.js (original)
+++ myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_SimpleHtmlParser.js Fri Jun  5 11:44:14 2009
@@ -212,7 +212,7 @@
         while(this.tokens[this._tokenPos] != ">") {
             this._skipBlank(1);
             var token = this._getCurrentToken();
-            if((token == "'" || token == '"') && this._isStringStart()) {
+            if((token == "'" || token == '"') && this._isStringStart()) {
                 this.handleString(token);
             }
         }
@@ -257,7 +257,7 @@
             this._tokenPos ++;
             //possible String handling
             //we precheck to avoid unneeded calls, performance optimization!!!!
-            if((token == "'" || token == '"') && this._isStringStart()) {
+            if((token == "'" || token == '"') && this._isStringStart()) {
                 token = this._getCurrentToken();
                 this._tokenPos ++;
                 this.handleString(token);
@@ -370,7 +370,7 @@
     myfaces._impl._util._SimpleHtmlParser.prototype._isStringStart = function() {
         var backTrack = (this._tokenPos > 0)? this.tokens[this._tokenPos-1]:null;
         var token = this.tokens[this._tokenPos];
-        return (token == "'" || token == '"') && backTrack != "\\";
+        return (token == "'" ||token == '"') && backTrack != "\\";
     };
 
     /**

Modified: myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_Utils.js
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_Utils.js?rev=781990&r1=781989&r2=781990&view=diff
==============================================================================
--- myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_Utils.js (original)
+++ myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_Utils.js Fri Jun  5 11:44:14 2009
@@ -4,9 +4,9 @@
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -26,7 +26,7 @@
      */
     myfaces._impl._util._Utils = function() {
 
-    }
+        }
 
 
     myfaces._impl._util._Utils.browserDetection = function() {
@@ -42,7 +42,7 @@
          *
          * the exception is the ie detection which relies on specific quirks in ie
          */
-       	var n = navigator;
+        var n = navigator;
         var dua = n.userAgent,
         dav = n.appVersion,
         tv = parseFloat(dav);
@@ -167,7 +167,7 @@
         try {
 
             var item = (itemIdToReplace instanceof Node) ? itemIdToReplace :
-                myfaces._impl._util._Utils.getElementFromForm(request, context, itemIdToReplace, form);
+            myfaces._impl._util._Utils.getElementFromForm(request, context, itemIdToReplace, form);
             if (item == null) {
                 myfaces._impl.xhrCore._Exception.throwNewWarning
                 (request, context, "Utils", "replaceHTMLItem", "Unknown Html-Component-ID: " + itemIdToReplace);
@@ -262,7 +262,7 @@
             }
             domNode[attribute] = value;
         }
-        //TODO this needs further testing I will leave it for now...
+    //TODO this needs further testing I will leave it for now...
     };
 
     /**
@@ -279,20 +279,20 @@
         //tested currently safari, ie, firefox, opera
         var retVal = (_LangUtils.exists(myfaces._impl._util._Utils.browser,"isIE") &&
             ( myfaces._impl._util._Utils.browser.isIE > 5.5))||
-            (_LangUtils.exists(myfaces._impl._util._Utils.browser,"isKhtml") &&
+        (_LangUtils.exists(myfaces._impl._util._Utils.browser,"isKhtml") &&
             _LangUtils.exists(myfaces._impl._util._Utils.browser.isKhtml > 0))   ||
-            (_LangUtils.exists(myfaces._impl._util._Utils.browser,"isWebKit") &&
+        (_LangUtils.exists(myfaces._impl._util._Utils.browser,"isWebKit") &&
             _LangUtils.exists(myfaces._impl._util._Utils.browser.isWebKit > 0));
       
         return retVal;
                
-        //another way to determine this without direct user agent parsing probably could
-        //be to add an embedded script tag programmatically and check for the script variable
-        //set by the script if existing, the add went through an eval if not then we
-        //have to deal with it outselves, this might be dangerous in case of the ie however
-        //so in case of ie we have to parse for all other browsers we can make a dynamic
-        //check if the browser does auto eval
-        //TODO discuss those things
+    //another way to determine this without direct user agent parsing probably could
+    //be to add an embedded script tag programmatically and check for the script variable
+    //set by the script if existing, the add went through an eval if not then we
+    //have to deal with it outselves, this might be dangerous in case of the ie however
+    //so in case of ie we have to parse for all other browsers we can make a dynamic
+    //check if the browser does auto eval
+    //TODO discuss those things
        
     };
 
@@ -311,13 +311,13 @@
      * the same id but are located in different forms -> MyFaces 1.1.4 two forms ->
      * 2 inputHidden fields with ID jsf_tree_64 & jsf_state_64 ->
      * http://www.arcknowledge.com/gmane.comp.jakarta.myfaces.devel/2005-09/msg01269.html
-     * @param {XMLHTTPRequest} request
+     * @param {Object} request
      * @param {Map} context
      * @param {String} itemIdOrName - ID of the HTML element located inside the form
      * @param {Html-Element} form - form element containing the element
      * @param {boolean} nameSearch if set to true a search for name is also done
      * @param {boolean} localSearchOnly if set to true a local search is performed only (a full document search is omitted)
-     * @return {Html-Element} - return the element if found else null
+     * @return {Obect}   the element if found else null
      *
      */
     myfaces._impl._util._Utils.getElementFromForm = function(request, context, itemIdOrName, form, nameSearch, localSearchOnly) {
@@ -338,7 +338,7 @@
             
             //we first check for a name entry!
             if(nameSearch && 'undefined' != typeof form.elements[itemIdOrName] && null != form.elements[itemIdOrName]) {
-                return element;
+                return form.elements[itemIdOrName];
             }
             //if no name entry is found we check for an Id
             for ( var f = 0; f < fLen; f++) {
@@ -346,7 +346,6 @@
                 if (element.id != null && element.id == itemIdOrName) {
                     return element;
                 }
-                
             }
             // element not found inside the form -> try document.getElementById
             // (kann be null if element doesn't exist)
@@ -402,7 +401,7 @@
             if (childItems[c].tagName != null
                 && childItems[c].tagName.toLowerCase() == childName
                 && (itemName == null || (itemName != null && itemName == childItems[c]
-            .getAttribute("name")))) {
+                    .getAttribute("name")))) {
                 return childItems[c];
             }
         }
@@ -416,7 +415,7 @@
     /**
      * fetches a global config entry
      * @param {String} configName the name of the configuration entry
-     * @param {Object} defaultValur
+     * @param {Object} defaultValue
      *
      * @return either the config entry or if none is given the default value
      */

Modified: myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxRequest.js
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxRequest.js?rev=781990&r1=781989&r2=781990&view=diff
==============================================================================
--- myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxRequest.js (original)
+++ myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxRequest.js Fri Jun  5 11:44:14 2009
@@ -27,7 +27,7 @@
      * @param {HtmlElement} source - Item that triggered the request
      * @param {Html Form} sourceForm - Form containing source
      * @param {Map} context - AJAX context
-     * @param {Map} passThough - parameters to pass through to the server (execute/render)
+     * @param {Map} passThrough - parameters to pass through to the server (execute/render)
      */
     myfaces._impl.xhrCore._AjaxRequest = function(source, sourceForm, context, passThrough) {
         this.m_exception = new myfaces._impl.xhrCore._Exception("myfaces._impl.xhrCore._AjaxRequest", this.alarmThreshold);
@@ -79,7 +79,6 @@
 
     /**
      * Sends an Ajax request
-     * @param {RequestQueue} requestQueue - Queue object to trigger next request
      */
     myfaces._impl.xhrCore._AjaxRequest.prototype.send = function() {
         try {

Modified: myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxResponse.js
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxResponse.js?rev=781990&r1=781989&r2=781990&view=diff
==============================================================================
--- myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxResponse.js (original)
+++ myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxResponse.js Fri Jun  5 11:44:14 2009
@@ -51,6 +51,8 @@
 
     /**
      * uses response to start Html element replacement
+     *
+     * @param {Object} request - xhr request object
      * @param {Map} context - AJAX context
      *
      * A special handling has to be added to the update cycle
@@ -258,8 +260,8 @@
 
     /**
      * Helper method to avoid duplicate code
-     * @param request our request object
-     * @param contect the response context
+     * @param {Object}Êrequest our request object
+     * @param {Map} context the response context
      * @param {DomNode} oldElement the element to be replaced
      * @param {String} newData the markup which replaces the old dom node!
      */
@@ -302,6 +304,8 @@
             return false;
         }
         //either before or after but not two at the same time
+        var nodeHolder = null;
+        var parentNode = null;
         if(beforeSet) {
             beforeId = myfaces._impl._util._LangUtils.trim(beforeId);
             var beforeNode = document.getElementById(beforeId);
@@ -315,8 +319,8 @@
              *generating the content upfront
              *before inserting it"
              **/
-            var nodeHolder = document.createElement("div");
-            var parentNode = beforeNode.parentNode;
+            nodeHolder = document.createElement("div");
+            parentNode = beforeNode.parentNode;
             parentNode.insertBefore(nodeHolder, beforeNode);
 
             myfaces._impl._util._Utils.replaceHtmlItem(request, context,
@@ -329,8 +333,8 @@
             	myfaces.ajax.sendError(request, context, myfaces._impl.core._jsfImpl._ERROR_MALFORMEDXML,myfaces._impl.core._jsfImpl._ERROR_MALFORMEDXML, "Error in PPR Insert, after  node of id "+after+" does not exist in document");
                 return false;
             }
-            var nodeHolder = document.createElement("div");
-            var parentNode = afterNode.parentNode;
+            nodeHolder = document.createElement("div");
+            parentNode = afterNode.parentNode;
             parentNode.insertBefore(nodeHolder, afterNode.nextSibling);
             myfaces._impl._util._Utils.replaceHtmlItem(request, context,
                 nodeHolder, node.firstChild.data, null);

Modified: myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxUtils.js
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxUtils.js?rev=781990&r1=781989&r2=781990&view=diff
==============================================================================
--- myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxUtils.js (original)
+++ myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxUtils.js Fri Jun  5 11:44:14 2009
@@ -34,6 +34,8 @@
 
     /**
      * determines fields to submit
+     * @param {Object} request the xhr request object
+     * @param {Map} context
      * @param {HtmlElement} item - item that triggered the event
      * @param {HtmlElement} parentItem - form element item is nested in
      * @param {Array} partialIds - ids fo PPS
@@ -129,9 +131,9 @@
         try {
             return new ActiveXObject("Msxml2.XMLHTTP");
         } catch (e) {
-            return new ActiveXObject('Microsoft.XMLHTTP');
+            
         }
-       
+        return new ActiveXObject('Microsoft.XMLHTTP');
     }
 
 

Modified: myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_xhrCoreAdapter.js
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_xhrCoreAdapter.js?rev=781990&r1=781989&r2=781990&view=diff
==============================================================================
--- myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_xhrCoreAdapter.js (original)
+++ myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_xhrCoreAdapter.js Fri Jun  5 11:44:14 2009
@@ -44,9 +44,11 @@
     /**
      * mapped options already have the exec and view properly in place
      * myfaces specifics can be found under mappedOptions.myFaces
-     * @param ajaxContext the ajax context which also has to be pushed into the messages and into the response
+     * @param {DomNode} source the source of this call
+     * @param {HTMLForm} sourceForm the html form which is the source of this call
+     * @param {Map} context the internal pass through context
+     * @param {Map} passThroughValues values to be passed through
      **/
-
     myfaces._impl.xhrCore._Ajax.prototype._ajaxRequest = function(source, sourceForm, context, passThroughValues ) {
         myfaces._impl.xhrCore._AjaxRequestQueue.queue.queueRequest(
             new myfaces._impl.xhrCore._AjaxRequest(source, sourceForm, context, passThroughValues));

Modified: myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/myfaces/api/OpenAjax.js
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/myfaces/api/OpenAjax.js?rev=781990&r1=781989&r2=781990&view=diff
==============================================================================
--- myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/myfaces/api/OpenAjax.js (original)
+++ myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/myfaces/api/OpenAjax.js Fri Jun  5 11:44:14 2009
@@ -24,7 +24,7 @@
         var t = true;
         var f = false;
         var g = window;
-        var libs;
+       
         var ooh = "org.openajax.hub.";
 
         var h = {};

Modified: myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/myfaces/api/jsf.js
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/myfaces/api/jsf.js?rev=781990&r1=781989&r2=781990&view=diff
==============================================================================
--- myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/myfaces/api/jsf.js (original)
+++ myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/myfaces/api/jsf.js Fri Jun  5 11:44:14 2009
@@ -4,7 +4,7 @@
  *  You may obtain a copy of the License at
  *
  *       http://www.apache.org/licenses/LICENSE-2.0
- *
+ *       
  *  Unless required by applicable law or agreed to in writing, software
  *  distributed under the License is distributed on an "AS IS" BASIS,
  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.