mozilla/pdf.js — Issue #791: Name constructor functions
Author: jviereck
Created: 2011-11-11 16:31:18+00:00
State: open
Labels: 1-core

All our prototype functions are called `constructor` as you can see it in [1]. Renaming them to the real class/object name would make debugging easier (in Chrome, you see only `constructor`, but you have no idea what object that really is).

@kkujala, is that something you want to tackle?

[1]: https://github.com/mozilla/pdf.js/blob/master/src/obj.js#L29