Browse Source

syntax error (we really should add tests)

pull/46/head
Guillermo 8 years ago
parent
commit
35c546d062
  1. 2
      src/node/index.js

2
src/node/index.js

@ -32,7 +32,7 @@ exports.sendPacket = function sendPacket(instance, packet){ @@ -32,7 +32,7 @@ exports.sendPacket = function sendPacket(instance, packet){
function loadImage(image, cb){
if(isURL(image) {
if(isURL(image)) {
fetch(image).then(function (resp) {
return resp.buffer();
}).then(function (buffer) {

Loading…
Cancel
Save