You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-07-31 15:24:23 +03:00
Also remove request dep on examples/node, since the 'matrix-js-sdk' import automatically pulls in the 'request' module.
This commit is contained in:
@ -2,7 +2,6 @@
|
|||||||
console.log("Loading node sdk");
|
console.log("Loading node sdk");
|
||||||
|
|
||||||
var matrix = require("matrix-js-sdk");
|
var matrix = require("matrix-js-sdk");
|
||||||
matrix.request(require("request"));
|
|
||||||
|
|
||||||
var client = matrix.createClient("http://matrix.org");
|
var client = matrix.createClient("http://matrix.org");
|
||||||
client.publicRooms(function (err, data) {
|
client.publicRooms(function (err, data) {
|
||||||
|
Reference in New Issue
Block a user