Skip to content

Commit

Permalink
🐛 remove redundant code
Browse files Browse the repository at this point in the history
  • Loading branch information
ManiaciaChao committed Nov 10, 2020
1 parent 44fe4a3 commit 1f8a2dd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 66 deletions.
32 changes: 0 additions & 32 deletions dist/QRSign.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,35 +173,3 @@ var QRSign = /** @class */ (function () {
return QRSign;
}());
exports.QRSign = QRSign;
var sign = new QRSign({ courseId: 1164213, signId: 1983462 });
// [
// {
// channel: "/meta/handshake",
// version: "1.0",
// supportedConnectionTypes: [
// "websocket",
// "eventsource",
// "long-polling",
// "cross-origin-long-polling",
// "callback-polling",
// ],
// id: "1",
// },
// ][
// {
// channel: "/meta/connect",
// clientId: "c6jlqzd5391xri99f3qt0a3xpa6uqur",
// connectionType: "long-polling",
// id: "2",
// advice: {
// timeout: 0,
// },
// }
// ][
// {
// channel: "/meta/subscribe",
// clientId: "c6jlqzd5391xri99f3qt0a3xpa6uqur",
// subscription: "/attendance/1164213/1982993/qr",
// id: "3",
// }
// ];
34 changes: 0 additions & 34 deletions src/QRSign.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,37 +203,3 @@ export class QRSign {
id: this.seqId,
});
}

const sign = new QRSign({ courseId: 1164213, signId: 1983462 });

// [
// {
// channel: "/meta/handshake",
// version: "1.0",
// supportedConnectionTypes: [
// "websocket",
// "eventsource",
// "long-polling",
// "cross-origin-long-polling",
// "callback-polling",
// ],
// id: "1",
// },
// ][
// {
// channel: "/meta/connect",
// clientId: "c6jlqzd5391xri99f3qt0a3xpa6uqur",
// connectionType: "long-polling",
// id: "2",
// advice: {
// timeout: 0,
// },
// }
// ][
// {
// channel: "/meta/subscribe",
// clientId: "c6jlqzd5391xri99f3qt0a3xpa6uqur",
// subscription: "/attendance/1164213/1982993/qr",
// id: "3",
// }
// ];

0 comments on commit 1f8a2dd

Please sign in to comment.