File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 2440
2440
loadImage . detectSubsampling = function ( img ) {
2441
2441
var canvas ,
2442
2442
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
2444
2444
canvas = document . createElement ( 'canvas' ) ;
2445
2445
canvas . width = canvas . height = 1 ;
2446
2446
context = canvas . getContext ( '2d' ) ;
3610
3610
} ( ) ) ;
3611
3611
}
3612
3612
} ( 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 2440
2440
loadImage . detectSubsampling = function ( img ) {
2441
2441
var canvas ,
2442
2442
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
2444
2444
canvas = document . createElement ( 'canvas' ) ;
2445
2445
canvas . width = canvas . height = 1 ;
2446
2446
context = canvas . getContext ( '2d' ) ;
4403
4403
} ( ) ) ;
4404
4404
}
4405
4405
} ( 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