function registerImageHelper() {
            var canvas = document.createElement('canvas');
            canvas.className = "canvas--helper";
            canvas.width = self.photoHelper.outerWidth();
            canvas.height = self.photoHelper.outerHeight();

            self.photoHelper.prepend(canvas);

            self.imageHelperCanvas = canvas;
            self.imageHelperCanvasContext = canvas.getContext('2d');
            self.imageHelperCanvasContext.imageSmoothingEnabled = false;
                      self.imageHelperCanvasContext.msImageSmoothingEnabled = false;
            self.imageHelperCanvasContext.imageSmoothingEnabled = false;
        }
/**
         * Creates the canvas for the image helper
         */
Creates the canvas for the image helper
Creates the canvas for the image helper
function registerImageHelper() {
            var canvas = document.createElement('canvas');
            canvas.className = "canvas--helper";
            canvas.width = self.photoHelper.outerWidth();
            canvas.height = self.photoHelper.outerHeight();
            self.photoHelper.prepend(canvas);
            self.imageHelperCanvas = canvas;
            self.imageHelperCanvasContext = canvas.getContext('2d');
            self.imageHelperCanvasContext.imageSmoothingEnabled = false;
                      self.imageHelperCanvasContext.msImageSmoothingEnabled = false;
            self.imageHelperCanvasContext.imageSmoothingEnabled = false;
        }
function registerImageHelper ( ) { var canvas = document . createElement ( 'canvas' ) ; canvas . className = "canvas--helper" ; canvas . width = self . photoHelper . outerWidth ( ) ; canvas . height = self . photoHelper . outerHeight ( ) ; self . photoHelper . prepend ( canvas ) ; self . imageHelperCanvas = canvas ; self . imageHelperCanvasContext = canvas . getContext ( '2d' ) ; self . imageHelperCanvasContext . imageSmoothingEnabled = false ; self . imageHelperCanvasContext . msImageSmoothingEnabled = false ; self . imageHelperCanvasContext . imageSmoothingEnabled = false ; }
Creates the canvas for the image helper
Creates the canvas for the image helper