Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 8691

Show
Ignore:
Timestamp:
01/22/08 23:36:47 (8 months ago)
Author:
andrew
Message:

Fix "function $A" declaration inside of a conditional (confuses IE). Fixes #10882. [Jacco, Andrew Dupont]

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • spinoffs/prototype/trunk/CHANGELOG

    r8656 r8691  
    11*SVN* 
     2 
     3* Fix "function $A" declaration inside of a conditional (confuses IE). Fixes #10882. [Jacco, Andrew Dupont] 
    24 
    35* Fixed selector parsing so that "#foo [bar=baz]" is treated the same way as "#foo *[bar=baz]". Closes #10734. [jlukas, kangax, Andrew Dupont] 
  • spinoffs/prototype/trunk/src/array.js

    r8451 r8691  
    88 
    99if (Prototype.Browser.WebKit) { 
    10   function $A(iterable) { 
     10  $A = function(iterable) { 
    1111    if (!iterable) return []; 
    1212    if (!(Object.isFunction(iterable) && iterable == '[object NodeList]') && 
     
    1515    while (length--) results[length] = iterable[length]; 
    1616    return results; 
    17   } 
     17  }; 
    1818} 
    1919