|
@ -562,21 +562,22 @@ $.fn.transition = function() { |
|
|
? value + query[depth + 1].charAt(0).toUpperCase() + query[depth + 1].slice(1) |
|
|
? value + query[depth + 1].charAt(0).toUpperCase() + query[depth + 1].slice(1) |
|
|
: query |
|
|
: query |
|
|
; |
|
|
; |
|
|
if( $.isPlainObject( instance[value] ) && (depth != maxDepth) ) { |
|
|
if( $.isPlainObject( instance[camelCaseValue] ) && (depth != maxDepth) ) { |
|
|
instance = instance[value]; |
|
|
|
|
|
} |
|
|
|
|
|
else if( $.isPlainObject( instance[camelCaseValue] ) && (depth != maxDepth) ) { |
|
|
|
|
|
instance = instance[camelCaseValue]; |
|
|
instance = instance[camelCaseValue]; |
|
|
} |
|
|
} |
|
|
else if( instance[value] !== undefined ) { |
|
|
|
|
|
found = instance[value]; |
|
|
|
|
|
return false; |
|
|
|
|
|
} |
|
|
|
|
|
else if( instance[camelCaseValue] !== undefined ) { |
|
|
else if( instance[camelCaseValue] !== undefined ) { |
|
|
found = instance[camelCaseValue]; |
|
|
found = instance[camelCaseValue]; |
|
|
return false; |
|
|
return false; |
|
|
} |
|
|
} |
|
|
|
|
|
else if( $.isPlainObject( instance[value] ) && (depth != maxDepth) ) { |
|
|
|
|
|
instance = instance[value]; |
|
|
|
|
|
} |
|
|
|
|
|
else if( instance[value] !== undefined ) { |
|
|
|
|
|
found = instance[value]; |
|
|
|
|
|
return false; |
|
|
|
|
|
} |
|
|
else { |
|
|
else { |
|
|
|
|
|
module.error(error.method); |
|
|
return false; |
|
|
return false; |
|
|
} |
|
|
} |
|
|
}); |
|
|
}); |
|
@ -596,7 +597,7 @@ $.fn.transition = function() { |
|
|
else if(response !== undefined) { |
|
|
else if(response !== undefined) { |
|
|
returnedValue = response; |
|
|
returnedValue = response; |
|
|
} |
|
|
} |
|
|
return found || false; |
|
|
return found; |
|
|
} |
|
|
} |
|
|
}; |
|
|
}; |
|
|
module.initialize(); |
|
|
module.initialize(); |
|
|