We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c036bc commit 43c8f01Copy full SHA for 43c8f01
index.js
@@ -1828,7 +1828,7 @@ QRCode.prototype.saveSVG = function(saveOptions) {
1828
return this._toSave(saveOptions);
1829
};
1830
1831
-// Get Base64 or SVG text
+// Get Base64, SVG text or Stream
1832
QRCode.prototype._toData = function(drawer, makeType) {
1833
var defOptions = {
1834
makeType: makeType ? makeType : 'URL'
@@ -1864,7 +1864,7 @@ QRCode.prototype.toSVGText = function() {
1864
return this._toData('svg');
1865
1866
/**
1867
- * Get SVG data text: '<svg xmlns:xlink="http://www.w3.org/1999/xlink" ...'
+ * Get a stream from canvas back
1868
*/
1869
QRCode.prototype.toStream = function() {
1870
return this._toData('canvas', 'STREAM');
0 commit comments