File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 24402440 loadImage . detectSubsampling = function ( img ) {
24412441 var canvas ,
24422442 context ;
2443- if ( img . width * img . height > 1024 * 1024 ) { // only consider mexapixel images
2443+ if ( img . width * img . height > 1024 * 1024 ) { // only consider megapixel images
24442444 canvas = document . createElement ( 'canvas' ) ;
24452445 canvas . width = canvas . height = 1 ;
24462446 context = canvas . getContext ( '2d' ) ;
36103610 } ( ) ) ;
36113611 }
36123612} ( window , window . jQuery , FileAPI ) ) ;
3613- if ( typeof define === "function" && define . amd ) { define ( "FileAPI" , [ ] , function ( ) { return FileAPI ; } ) ; }
3613+ if ( typeof define === "function" && define . amd ) { define ( "FileAPI" , [ ] , function ( ) { return FileAPI ; } ) ; }
Original file line number Diff line number Diff line change 24402440 loadImage . detectSubsampling = function ( img ) {
24412441 var canvas ,
24422442 context ;
2443- if ( img . width * img . height > 1024 * 1024 ) { // only consider mexapixel images
2443+ if ( img . width * img . height > 1024 * 1024 ) { // only consider megapixel images
24442444 canvas = document . createElement ( 'canvas' ) ;
24452445 canvas . width = canvas . height = 1 ;
24462446 context = canvas . getContext ( '2d' ) ;
44034403 } ( ) ) ;
44044404 }
44054405} ( window , window . jQuery , FileAPI ) ) ;
4406- if ( typeof define === "function" && define . amd ) { define ( "FileAPI" , [ ] , function ( ) { return FileAPI ; } ) ; }
4406+ if ( typeof define === "function" && define . amd ) { define ( "FileAPI" , [ ] , function ( ) { return FileAPI ; } ) ; }
You can’t perform that action at this time.
0 commit comments