|
@@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdf = {}));
|
|
|
// Use strict in our context only - users might not want it
|
|
|
'use strict';
|
|
|
|
|
|
-var pdfjsVersion = '1.5.287';
|
|
|
-var pdfjsBuild = 'c4db4dd';
|
|
|
+var pdfjsVersion = '1.5.289';
|
|
|
+var pdfjsBuild = '70b3eea';
|
|
|
|
|
|
var pdfjsFilePath =
|
|
|
typeof document !== 'undefined' && document.currentScript ?
|
|
@@ -1111,6 +1111,11 @@ function isArrayBuffer(v) {
|
|
|
return typeof v === 'object' && v !== null && v.byteLength !== undefined;
|
|
|
}
|
|
|
|
|
|
+// Checks if ch is one of the following characters: SPACE, TAB, CR or LF.
|
|
|
+function isSpace(ch) {
|
|
|
+ return (ch === 0x20 || ch === 0x09 || ch === 0x0D || ch === 0x0A);
|
|
|
+}
|
|
|
+
|
|
|
/**
|
|
|
* Promise Capability object.
|
|
|
*
|
|
@@ -2358,6 +2363,7 @@ exports.isEmptyObj = isEmptyObj;
|
|
|
exports.isInt = isInt;
|
|
|
exports.isNum = isNum;
|
|
|
exports.isString = isString;
|
|
|
+exports.isSpace = isSpace;
|
|
|
exports.isSameOrigin = isSameOrigin;
|
|
|
exports.isValidUrl = isValidUrl;
|
|
|
exports.isLittleEndian = isLittleEndian;
|