mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-09 09:45:42 +02:00
Renaming export to exportData
This commit is contained in:
parent
e13846821c
commit
3d78ccd570
2 changed files with 2 additions and 2 deletions
|
@ -210,7 +210,7 @@ var PartialEvaluator = (function PartialEvaluatorClosure() {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (data instanceof Font)
|
if (data instanceof Font)
|
||||||
data = data.export();
|
data = data.exportData();
|
||||||
|
|
||||||
handler.send('obj', [
|
handler.send('obj', [
|
||||||
loadedName,
|
loadedName,
|
||||||
|
|
|
@ -2040,7 +2040,7 @@ var Font = (function FontClosure() {
|
||||||
mimetype: null,
|
mimetype: null,
|
||||||
encoding: null,
|
encoding: null,
|
||||||
|
|
||||||
export: function Font_export() {
|
exportData: function Font_exportData() {
|
||||||
var data = {};
|
var data = {};
|
||||||
for (var i in this) {
|
for (var i in this) {
|
||||||
if (this.hasOwnProperty(i))
|
if (this.hasOwnProperty(i))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue