Boolean: Pass on options in PathItem#subtract(path, options)

Relates to #1221
This commit is contained in:
Jürg Lehni 2017-03-22 14:24:40 +01:00
parent 7e8e04351f
commit dd56f86679

View file

@ -1077,8 +1077,8 @@ PathItem.inject(new function() {
* @param {Object} [options] the boolean operation options
* @return {PathItem} the resulting path item
*/
subtract: function(path) {
return computeBoolean(this, path, 'subtract');
subtract: function(path, options) {
return computeBoolean(this, path, 'subtract', options);
},
/**