Skip to content

Commit 43c8f01

Browse files
committed
update comments
update comments
1 parent 5c036bc commit 43c8f01

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1828,7 +1828,7 @@ QRCode.prototype.saveSVG = function(saveOptions) {
18281828
return this._toSave(saveOptions);
18291829
};
18301830

1831-
// Get Base64 or SVG text
1831+
// Get Base64, SVG text or Stream
18321832
QRCode.prototype._toData = function(drawer, makeType) {
18331833
var defOptions = {
18341834
makeType: makeType ? makeType : 'URL'
@@ -1864,7 +1864,7 @@ QRCode.prototype.toSVGText = function() {
18641864
return this._toData('svg');
18651865
};
18661866
/**
1867-
* Get SVG data text: '<svg xmlns:xlink="http://www.w3.org/1999/xlink" ...'
1867+
* Get a stream from canvas back
18681868
*/
18691869
QRCode.prototype.toStream = function() {
18701870
return this._toData('canvas', 'STREAM');

0 commit comments

Comments
 (0)