From f3334c13cffb968308d70c5091c31c1107fbdb16 Mon Sep 17 00:00:00 2001 From: rolux Date: Tue, 3 Jul 2012 18:19:37 +0200 Subject: [PATCH] steganography example: minor change --- examples/images/steganography/js/example.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/examples/images/steganography/js/example.js b/examples/images/steganography/js/example.js index 55831aed..b625a4c5 100644 --- a/examples/images/steganography/js/example.js +++ b/examples/images/steganography/js/example.js @@ -90,9 +90,7 @@ Ox.load('Image', function() { Ox.Image(src, function(image) { result(Ox.$('').attr({src: src})); status('Decode the least significant bits of vietnam.png'); - image.decode(false, 1, function(str) { - result(str); - }); + image.decode(false, 1, result); }); }); });