Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- plupload.silverlight.js Mon Aug 29 12:03:30 2011
- +++ plupload.silverlight-fix.js Mon Aug 29 12:10:17 2011
- @@ -16,6 +16,11 @@
- function jsonSerialize(obj) {
- var value, type = typeof obj, isArray, i, key;
- +
- + // Treat undefined as null
- + if (obj === undef || obj === null) {
- + return 'null';
- + }
- // Encode strings
- if (type === 'string') {
- @@ -64,11 +69,6 @@
- }
- return value;
- - }
- -
- - // Treat undefined as null
- - if (obj === undef) {
- - return 'null';
- }
- // Convert all other types to string
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement