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 2010/07/12 11:00:35 UTC

svn commit: r963216 - in /myfaces/core/trunk/api/src/main: javascript/META-INF/resources/myfaces/_impl/xhrCore/_IFrameRequest.js resources/META-INF/licenses/yui-LICENSE.TXT

Author: werpu
Date: Mon Jul 12 09:00:35 2010
New Revision: 963216

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

added the needed YUI bsd license and markers


Added:
    myfaces/core/trunk/api/src/main/resources/META-INF/licenses/yui-LICENSE.TXT
Modified:
    myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_IFrameRequest.js

Modified: myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_IFrameRequest.js
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_IFrameRequest.js?rev=963216&r1=963215&r2=963216&view=diff
==============================================================================
--- myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_IFrameRequest.js (original)
+++ myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_IFrameRequest.js Mon Jul 12 09:00:35 2010
@@ -89,6 +89,7 @@ myfaces._impl.core._Runtime.extendClass(
 
         var request = {};
         try {
+            //Derived from the YUI library, looking this up saved me some time
             request.responseText = this._frame.contentWindow.document.body ? this._frame.contentWindow.document.body.innerHTML : this._frame.contentWindow.document.documentElement.textContent;
             request.responseXML = this._frame.contentWindow.document.XMLDocument ? this._frame.contentWindow.document.XMLDocument : this._frame.contentWindow.document;
 

Added: myfaces/core/trunk/api/src/main/resources/META-INF/licenses/yui-LICENSE.TXT
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/api/src/main/resources/META-INF/licenses/yui-LICENSE.TXT?rev=963216&view=auto
==============================================================================
--- myfaces/core/trunk/api/src/main/resources/META-INF/licenses/yui-LICENSE.TXT (added)
+++ myfaces/core/trunk/api/src/main/resources/META-INF/licenses/yui-LICENSE.TXT Mon Jul 12 09:00:35 2010
@@ -0,0 +1,24 @@
+http://developer.yahoo.com/yui/license.html
+
+Copyright (c) 2010, Yahoo! Inc.
+All rights reserved.
+
+Redistribution and use of this software in source and binary forms, with or without modification, are permitted provided
+that the following conditions are met:
+
+    * Redistributions of source code must retain the above copyright notice, this list of conditions and the
+      following disclaimer.
+    * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following
+    disclaimer in the documentation and/or other materials provided with the distribution.
+
+    * Neither the name of Yahoo! Inc. nor the names of its contributors may be used to endorse or promote products
+    derived from this software without specific prior written permission of Yahoo! Inc.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
\ No newline at end of file