mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-10 10:15:37 +02:00
Fixing regression errors, better logic
This commit is contained in:
parent
bbdec90c0d
commit
5c8753dcba
2 changed files with 22 additions and 21 deletions
|
@ -93,6 +93,10 @@ var Util = (function UtilClosure() {
|
|||
return [xt, yt];
|
||||
};
|
||||
|
||||
Util.sign = function sign(num) {
|
||||
return num < 0 ? -1 : 1;
|
||||
};
|
||||
|
||||
return Util;
|
||||
})();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue