Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor src/core/pdf_manager.js: rename pdfModel to pdfDocument #4440

Merged
merged 1 commit into from
Mar 17, 2014

Conversation

bthorben
Copy link
Contributor

Renamed pdfModel to pdfDocument to let the name closer resemble what the
variable actually holds. Function ensureModel renamed accordingly to ensureDoc.

Rename pdfModel to pdfDocument to let the name closer resemble what the
variable actually holds
@@ -33,24 +33,24 @@ var BasePdfManager = (function BasePdfManagerClosure() {
throw new NotImplementedException();
},

ensureModel: function BasePdfManager_ensureModel(prop, args) {
return this.ensure(this.pdfModel, prop, args);
ensureDoc: function BasePdfManager_ensureDoc(prop, args) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The other changes are fine, but this one seems confusing since it doesn't ensure the doc is ready. I'd say leave as is or something like ensureDocumentProperty

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On second glance I guess this look like the other ensure* functions.

@brendandahl
Copy link
Contributor

/botio test

@pdfjsbot
Copy link

From: Bot.io (Linux)


Received

Command cmd_test from @brendandahl received. Current queue size: 0

Live output at: http://107.21.233.14:8877/d3b956cd9385056/output.txt

@pdfjsbot
Copy link

From: Bot.io (Windows)


Received

Command cmd_test from @brendandahl received. Current queue size: 3

Live output at: http://107.22.172.223:8877/fa24a308f65126e/output.txt

@pdfjsbot
Copy link

From: Bot.io (Linux)


Success

Full output at http://107.21.233.14:8877/d3b956cd9385056/output.txt

Total script time: 25.79 mins

  • Font tests: Passed
  • Unit tests: Passed
  • Regression tests: Passed

@pdfjsbot
Copy link

From: Bot.io (Windows)


Success

Full output at http://107.22.172.223:8877/fa24a308f65126e/output.txt

Total script time: 37.08 mins

  • Font tests: Passed
  • Unit tests: Passed
  • Regression tests: Passed

brendandahl added a commit that referenced this pull request Mar 17, 2014
refactor src/core/pdf_manager.js: rename pdfModel to pdfDocument
@brendandahl brendandahl merged commit ad4be03 into mozilla:master Mar 17, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants