You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-28 05:03:59 +03:00
Fix debug flag name
This commit is contained in:
@@ -27,10 +27,10 @@ var ContentRepo = require("../content-repo");
|
|||||||
var EventTimeline = require("./event-timeline");
|
var EventTimeline = require("./event-timeline");
|
||||||
|
|
||||||
|
|
||||||
// var DEBUG_SCROLL = false;
|
// var DEBUG = false;
|
||||||
var DEBUG_SCROLL = true;
|
var DEBUG = true;
|
||||||
|
|
||||||
if (DEBUG_SCROLL) {
|
if (DEBUG) {
|
||||||
// using bind means that we get to keep useful line numbers in the console
|
// using bind means that we get to keep useful line numbers in the console
|
||||||
var debuglog = console.log.bind(console);
|
var debuglog = console.log.bind(console);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user