use Ox.print instead of console.log

This commit is contained in:
j 2010-02-06 19:29:16 +05:30
commit 9eac279745
7 changed files with 16 additions and 16 deletions

View file

@ -11,8 +11,8 @@
$(function() {
var png = new Ox.PNG("http://khm0.google.com/kh/v=46&x=0&y=0&z=0");
png.load(function() {
console.log(png.getChunks());
console.log(png.getSize());
Ox.print(png.getChunks());
Ox.print(png.getSize());
png.appendTo("body")
})
});

View file

@ -64,7 +64,7 @@ Ox = Ox || {};
var canvas = self.getCanvas();
that.context = canvas.context;
that.canvas = canvas.canvas;
console.log(self.getChunks())
Ox.print(self.getChunks())
callback();
};
that.addChunk = function(options) {