Merge pull request #2058 from Pimm/master

Small fixes for normal and potential post-compilation bugs
This commit is contained in:
Yury Delendik 2012-09-20 11:36:55 -07:00
commit 75e928c102
9 changed files with 53 additions and 29 deletions

View file

@ -236,7 +236,7 @@ var Page = (function PageClosure() {
},
getLinks: function Page_getLinks() {
var links = [];
var annotations = pageGetAnnotations();
var annotations = this.getAnnotations();
var i, n = annotations.length;
for (i = 0; i < n; ++i) {
if (annotations[i].type != 'Link')