Skip to content

Commit c0fa3ea

Browse files
committed
docs: Fix simple typo, mexapixel -> megapixel
There is a small typo in dist/FileAPI.html5.js, dist/FileAPI.js. Should read `megapixel` rather than `mexapixel`.
1 parent 6f4fb87 commit c0fa3ea

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

dist/FileAPI.html5.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -2440,7 +2440,7 @@
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');
@@ -3610,4 +3610,4 @@
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; }); }

dist/FileAPI.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -2440,7 +2440,7 @@
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');
@@ -4403,4 +4403,4 @@
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; }); }

0 commit comments

Comments
 (0)