forked from 0x2620/oxjs
use simplified async test syntax
This commit is contained in:
parent
ba4086bc55
commit
b44b2da4d2
2 changed files with 8 additions and 1 deletions
|
|
@ -139,7 +139,7 @@ Ox.encodeDeflate <f> Encodes a string, using deflate
|
|||
head, tail and chunk names are removed.
|
||||
(str) -> <s> The encoded string
|
||||
str <s> The string to be encoded
|
||||
> Ox.decodeDeflate(Ox.encodeDeflate('foo'), function(str) { Ox.test.async('Ox.encodeDeflate', str == 'foo'); })
|
||||
> Ox.decodeDeflate(Ox.encodeDeflate('foo'), function(str) { Ox.test(str, 'foo'); })
|
||||
undefined
|
||||
@*/
|
||||
Ox.encodeDeflate = function(string, callback) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue