diff --git a/Objective-J/CFData.js b/Objective-J/CFData.js index 44841fbb9..4075608df 100644 --- a/Objective-J/CFData.js +++ b/Objective-J/CFData.js @@ -229,12 +229,12 @@ CFData.encodeBase64Array = function(input) // pad with "=" and revert array to previous state if (pad > 0) { - output[output.length-1] = "="; + output[output.length - 1] = "="; input.pop(); } if (pad > 1) { - output[output.length-2] = "="; + output[output.length - 2] = "="; input.pop(); } @@ -279,8 +279,8 @@ CFData.bytesToUtf16String = function(bytes) { // Strings are encoded with 16 bits per character. var temp = []; - for (var i = 0; i < bytes.length; i+=2) - temp.push(bytes[i+1] << 8 | bytes[i]); + for (var i = 0; i < bytes.length; i += 2) + temp.push(bytes[i + 1] << 8 | bytes[i]); // This is relatively efficient, I think: return String.fromCharCode.apply(NULL, temp); };