You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-08-09 10:22:46 +03:00
Remove browser-request dep from examples/browser.
We no longer need this because the dist/ package includes a copy already. This simplifies browser development a lot.
This commit is contained in:
@@ -1,9 +1,6 @@
|
||||
"use strict";
|
||||
console.log("Loading browser sdk");
|
||||
|
||||
// assign the global request module from browser-request.js
|
||||
matrixcs.request(request);
|
||||
|
||||
var client = matrixcs.createClient("http://matrix.org");
|
||||
client.publicRooms(function (err, data) {
|
||||
if (err) {
|
||||
|
Reference in New Issue
Block a user