Framesafe typecheks
Reported by MadRabbit | January 26th, 2010 @ 01:31 PM | in 1.5.4 Release
Get rid of the 'instanceof' in the type checks, use things like
Object.prototype.toString.call(value) === "[object Array]";
Check the performance impact.
We also need to check the Array/String arguments everywhere, so they were working without extensions with data from the other farmes
Comments and changes to this ticket
-
MadRabbit January 28th, 2010 @ 05:33 PM
- State changed from new to resolved
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
RightJS Core Tickets