Remove unnecessary function.prototype.call()

This commit is contained in:
Tom Z?hner
2018-03-01 21:37:35 +01:00
parent d1cd52e708
commit 7dec052d9d
3 changed files with 11 additions and 11 deletions
Generated Vendored
+5 -5
View File
@@ -8021,7 +8021,7 @@ var rtfDestination = /** @class */ (function (_super) {
var props = this.parser.state[ptype];
props[prop] = val;
Helper.log("[rtf] state." + ptype + "." + prop + " = " + props[prop].toString());
this._addFormatIns.call(this, ptype, props);
this._addFormatIns(ptype, props);
};
};
rtfDestination.prototype._genericFormatOnOff = function (ptype, prop, onval, offval) {
@@ -8029,7 +8029,7 @@ var rtfDestination = /** @class */ (function (_super) {
var props = this.parser.state[ptype];
props[prop] = (param == null || param != 0) ? (onval != null ? onval : true) : (offval != null ? offval : false);
Helper.log("[rtf] state." + ptype + "." + prop + " = " + props[prop].toString());
this._addFormatIns.call(this, ptype, props);
this._addFormatIns(ptype, props);
};
};
rtfDestination.prototype._genericFormatSetVal = function (ptype, prop, defaultval) {
@@ -8037,7 +8037,7 @@ var rtfDestination = /** @class */ (function (_super) {
var props = this.parser.state[ptype];
props[prop] = (param == null) ? defaultval : param;
Helper.log("[rtf] state." + ptype + "." + prop + " = " + props[prop].toString());
this._addFormatIns.call(this, ptype, props);
this._addFormatIns(ptype, props);
};
};
rtfDestination.prototype._genericFormatSetValRequired = function (ptype, prop) {
@@ -8047,7 +8047,7 @@ var rtfDestination = /** @class */ (function (_super) {
var props = this.parser.state[ptype];
props[prop] = param;
Helper.log("[rtf] state." + ptype + "." + prop + " = " + props[prop].toString());
this._addFormatIns.call(this, ptype, props);
this._addFormatIns(ptype, props);
};
};
rtfDestination.prototype._genericFormatSetMemberVal = function (ptype, prop, member, defaultval) {
@@ -8056,7 +8056,7 @@ var rtfDestination = /** @class */ (function (_super) {
var members = props[prop];
members[member] = (param == null) ? defaultval : param;
Helper.log("[rtf] state." + ptype + "." + prop + "." + member + " = " + members[member].toString());
this._addFormatIns.call(this, ptype, props);
this._addFormatIns(ptype, props);
};
};
rtfDestination.prototype.handleKeyword = function (keyword, param) {
Generated Vendored
+1 -1
View File
File diff suppressed because one or more lines are too long
+5 -5
View File
@@ -177,7 +177,7 @@ class rtfDestination extends DestinationBase {
var props = this.parser.state[ptype];
props[prop] = val;
Helper.log("[rtf] state." + ptype + "." + prop + " = " + props[prop].toString());
this._addFormatIns.call(this, ptype, props);
this._addFormatIns(ptype, props);
};
};
@@ -186,7 +186,7 @@ class rtfDestination extends DestinationBase {
var props = this.parser.state[ptype];
props[prop] = (param == null || param != 0) ? (onval != null ? onval : true) : (offval != null ? offval : false);
Helper.log("[rtf] state." + ptype + "." + prop + " = " + props[prop].toString());
this._addFormatIns.call(this, ptype, props);
this._addFormatIns(ptype, props);
};
};
_genericFormatSetVal(ptype, prop, defaultval) {
@@ -194,7 +194,7 @@ class rtfDestination extends DestinationBase {
var props = this.parser.state[ptype];
props[prop] = (param == null) ? defaultval : param;
Helper.log("[rtf] state." + ptype + "." + prop + " = " + props[prop].toString());
this._addFormatIns.call(this, ptype, props);
this._addFormatIns(ptype, props);
};
};
_genericFormatSetValRequired(ptype, prop) {
@@ -204,7 +204,7 @@ class rtfDestination extends DestinationBase {
var props = this.parser.state[ptype];
props[prop] = param;
Helper.log("[rtf] state." + ptype + "." + prop + " = " + props[prop].toString());
this._addFormatIns.call(this, ptype, props);
this._addFormatIns(ptype, props);
};
};
_genericFormatSetMemberVal(ptype, prop, member, defaultval) {
@@ -213,7 +213,7 @@ class rtfDestination extends DestinationBase {
var members = props[prop];
members[member] = (param == null) ? defaultval : param;
Helper.log("[rtf] state." + ptype + "." + prop + "." + member + " = " + members[member].toString());
this._addFormatIns.call(this, ptype, props);
this._addFormatIns(ptype, props);
};
};
_charFormatHandlers = {