Remove console.logs from previous commit again
This commit is contained in:
parent
e15bfc00a0
commit
6e9306afd2
2
fonts.js
2
fonts.js
@ -165,8 +165,6 @@ var FontLoader = {
|
|||||||
waitingStr: [],
|
waitingStr: [],
|
||||||
|
|
||||||
bind: function(fonts, callback) {
|
bind: function(fonts, callback) {
|
||||||
console.log("requesting fonts", fonts[0].properties.loadedName, fonts[0].name);
|
|
||||||
|
|
||||||
var rules = [], names = [];
|
var rules = [], names = [];
|
||||||
|
|
||||||
for (var i = 0; i < fonts.length; i++) {
|
for (var i = 0; i < fonts.length; i++) {
|
||||||
|
1
pdf.js
1
pdf.js
@ -4893,7 +4893,6 @@ var CanvasGraphics = (function() {
|
|||||||
// If the promise isn't resolved yet, add the continueCallback
|
// If the promise isn't resolved yet, add the continueCallback
|
||||||
// to the promise and bail out.
|
// to the promise and bail out.
|
||||||
if (!promise.isResolved) {
|
if (!promise.isResolved) {
|
||||||
console.log("depending on obj", depObjId);
|
|
||||||
promise.then(continueCallback);
|
promise.then(continueCallback);
|
||||||
return i;
|
return i;
|
||||||
}
|
}
|
||||||
|
@ -93,8 +93,6 @@ var Promise = (function() {
|
|||||||
|
|
||||||
Promise.prototype = {
|
Promise.prototype = {
|
||||||
resolve: function(data) {
|
resolve: function(data) {
|
||||||
console.log("resolve", this.name);
|
|
||||||
|
|
||||||
if (this.isResolved) {
|
if (this.isResolved) {
|
||||||
throw "A Promise can be resolved only once";
|
throw "A Promise can be resolved only once";
|
||||||
}
|
}
|
||||||
@ -166,8 +164,6 @@ var WorkerPDFDoc = (function() {
|
|||||||
var file = data[3];
|
var file = data[3];
|
||||||
var properties = data[4];
|
var properties = data[4];
|
||||||
|
|
||||||
console.log("got new font", name);
|
|
||||||
|
|
||||||
var font = {
|
var font = {
|
||||||
name: name,
|
name: name,
|
||||||
file: file,
|
file: file,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user