[Prototype-core] Re: alert('a href=javascript:alert(\'\')test/a'.stripTags());

2009-04-24 Thread Yaffle
String#prototype#split Great Fix http://blog.stevenlevithan.com/archives/cross-browser-split --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype: Core group. To post to this group, send email to

[Prototype-core] Array.prototype.push.apply and update used by Function.prototype.bind

2009-04-24 Thread Yaffle
function update(array, args) { var arrayLength = array.length, length = args.length; while (length--) array[arrayLength + length] = args[length]; return array; } Array.prototype.push.apply(array,args) == update(array,args) ? --~--~-~--~~~---~--~~