2.0: Re-fix #8908 #1119

Closed
wants to merge 3 commits into
from

2 participants

@markelog
jQuery Foundation member

No description provided.

@staabm staabm and 1 other commented on an outdated diff Jan 7, 2013
// If a hook was provided, use that value, otherwise just set the specified value
if ( !hooks || !("set" in hooks) || (value = hooks.set( elem, value, extra )) !== undefined ) {
// Wrapped to prevent IE from throwing errors when 'invalid' values are provided
// Fixes bug #5509
try {
+
@staabm
staabm added a line comment Jan 7, 2013

Should this block be moved outside of the try-catch to make it as small as possible..?

@markelog
jQuery Foundation member
markelog added a line comment Jan 7, 2013

if it can be, then try-catch could be removed, apparently, it can be, but that is another story.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
@dmethvin dmethvin closed this in 054daa2 Jan 8, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment