pdf.js/src
Jonas Jenwald f59c3a0644 Remove the remaining usages of new {Name,Cmd} in favor of {Name,Cmd}.get
Using `new {Name,Cmd}` should be avoided, since it creates a new object on *every* call, whereas `{Name,Cmd}.get` uses caches to only create *one* object regardless of how many times they are called.

Most of these are found in the unit-tests, where increased memory usage probably doesn't matter very much. But it still seems good to get rid of those cases, since no part of the codebase ought to advertise that usage.

Given the small size of the patch, I'm also tweaking a few comments and class names.
2016-04-08 12:14:05 +02:00
..
core Remove the remaining usages of new {Name,Cmd} in favor of {Name,Cmd}.get 2016-04-08 12:14:05 +02:00
display Remove global window and navigator usages from the core code. 2016-04-07 13:46:07 -05:00
images Vectorize the logo. 2012-10-29 14:08:52 -04:00
shared Move all PDFJS.xxx settings into display/global. 2016-04-07 13:46:07 -05:00
doc_helper.js Proxy global PDFJS.verbosity to properly configure shared/util. 2016-03-23 19:24:37 -05:00
frameworks.js Remove global window and navigator usages from the core code. 2016-04-07 13:46:07 -05:00
main_loader.js Exposes all functional members via lib exports and use them in viewer. 2016-04-07 13:46:07 -05:00
pdf.js Exposes all functional members via lib exports and use them in viewer. 2016-04-07 13:46:07 -05:00
worker_loader.js Improve work-around for importScripts bug. 2016-02-03 23:30:27 +01:00