MattKetmo / darkroomjs

Extensible image editing tool in your browser
https://mattketmo.github.io/darkroomjs
MIT License
1.42k stars 405 forks source link

README.md has wrong FAQ code #102

Open melefabrizio opened 8 years ago

melefabrizio commented 8 years ago

Should be:

FAQ

save: {
      callback: function() {
          this.darkroom.selfDestroy(); // Cleanup
          var newImage = dkrm.sourceCanvas.toDataURL();
          fileStorageLocation = newImage;
      }
  }

toDataURL() called on canvas doesn't return the original size image.