Created
August 31, 2015 11:28
-
-
Save barsukov/15f3a4b6c67675132a4e to your computer and use it in GitHub Desktop.
Revisions
-
barsukov created this gist
Aug 31, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,13 @@ image = new Image() image.crossOrigin = "Anonymous" image.src = 'here is url from server' image.onload = -> kit = new ImglyKit( renderer: "canvas" assetsUrl: "/assets" image: image container:$(".image_kit_start") ui: enabled: true ) kit.run()