That looks like 100% a Firefox bug. There is nothing in that line that shouldn't be working.
On Wed, Dec 22, 2010 at 4:28 PM, Barry van Oudtshoorn < [email protected]> wrote: > Hi again, > > A minimal test case: > > > var el = new Element('div'); > > console.log((el.className + ' ' + 'test').clean()); // Succeeds > > var fn = function(className) { > console.log((el.className + ' ' + className).clean()); // Fails > } > > fn('test'); > > > -- > Barry van Oudtshoorn > www.barryvan.com.au > > Not sent from my Apple πPhone. > >
