forked from 0x2620/oxjs
use Ox.print instead of console.log
This commit is contained in:
parent
4cc7bad63c
commit
9eac279745
7 changed files with 16 additions and 16 deletions
|
|
@ -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")
|
||||
})
|
||||
});
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue