diff --git a/source/Ox/js/Encoding.js b/source/Ox/js/Encoding.js index 79a1121e..51b253ca 100644 --- a/source/Ox/js/Encoding.js +++ b/source/Ox/js/Encoding.js @@ -139,9 +139,9 @@ Ox.encodeDeflate Encodes a string, using deflate head, tail and chunk names are removed. (str) -> The encoded string str The string to be encoded - # Test with: Ox.decodeDeflate(Ox.encodeDeflate('foo'), alert) + > Ox.decodeDeflate(Ox.encodeDeflate('foo'), function(str) { Ox.test.async('Ox.encodeDeflate', str == 'foo'); }) + undefined @*/ - Ox.encodeDeflate = function(string, callback) { // Make sure we can encode the full unicode range of characters. string = Ox.encodeUTF8(string);