svgdotjs / svg.filter.js

A plugin for svg.js adding svg filters
MIT License
218 stars 52 forks source link

documentation for 'invert' missing comma. #52

Open GlifTek opened 4 years ago

GlifTek commented 4 years ago

the documentation example for invert filter:

image.filterWith(function(add) { add.componentTransfer({ type: 'table' tableValues: [1, 0] }) })

should have a comma after 'table'

image.filterWith(function(add) { add.componentTransfer({ type: 'table', tableValues: [1, 0] }) })

Fuzzyma commented 4 years ago

Nice catch. Just go ahead and fix it. You can edit the file directly in your browser and submit it as pull request :)