porlan1
d9e1cb7955
unit test files as UMD modules
2017-01-09 11:40:57 -05:00
Jonas Jenwald
aae27e76bb
Fix errors reported by the no-multiple-empty-lines
ESLint rule
...
http://eslint.org/docs/rules/no-multiple-empty-lines
2016-12-12 20:35:58 +01:00
Yury Delendik
7fd3db9977
Adds EventBus.
2016-04-28 06:57:24 -05:00
Jonas Jenwald
97c10e9c08
Strip null
(\x00) characters from the URLs in LinkAnnotations (issue 6832)
...
Apparently some PDF files can have annotations with `URI` entries ending with `null` characters, thus breaking the links.
To handle this edge-case of bad PDFs, this patch moves the already existing utility function from `ui_utils.js` into `util.js`, in order to fix those URLs.
Fixes 6832.
2016-01-04 21:55:20 +01:00
Manas
a2ba1b8189
Uses editorconfig to maintain consistent coding styles
...
Removes the following as they unnecessary
/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
2015-11-14 07:32:18 +05:30
Jonas Jenwald
297984e2e9
Add unit-tests for removeNullCharacters
(PR 6431 follow-up)
...
I overlooked that we already had existing unit-tests for `web/ui_utils.js`, so this PR adds a few tests for `removeNullCharacters` (see PR 6431).
2015-09-14 12:19:29 +02:00
fkaelberer
a78bb6b946
Use binary search in getVisibleElements()
2015-03-01 17:41:20 +01:00