Please sign in to comment.
Fixed `clipboard.set` method when an empty string is given without a …
…flavor [regression] `DataURL` object can accept empty uri in order to works as builder for data url and not only as parser. So if an empty string is given in `clipboard`, a proper `DataURL` is created, even if it should be created only to "parse" a possible data url, so only if a `data` is provided. This fix makes `clipboard.set('')` works again.
- Loading branch information...