// Attach to jQuery object $.Jcrop = Jcrop; $.Jcrop.supportsCanvas = Modernizr.canvas; $.Jcrop.supportsCanvasText = Modernizr.canvastext; $.Jcrop.supportsDragAndDrop = Modernizr.draganddrop; $.Jcrop.supportsDataURI = Modernizr.datauri; $.Jcrop.supportsSVG = Modernizr.svg; $.Jcrop.supportsInlineSVG = Modernizr.inlinesvg; $.Jcrop.supportsSVGClipPaths = Modernizr.svgclippaths; $.Jcrop.supportsCSSTransforms = Modernizr.csstransforms; $.Jcrop.supportsTouch = Modernizr.touch; })(jQuery);