mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-06-05 17:16:47 +03:00
Minor Fixes
This commit is contained in:
parent
ad84631ddb
commit
cb16f7a60b
@ -14,9 +14,9 @@ See the License for the specific language governing permissions and
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// try to load the olm library.
|
|
||||||
import logger from '../src/logger';
|
import logger from '../src/logger';
|
||||||
|
|
||||||
|
// try to load the olm library.
|
||||||
try {
|
try {
|
||||||
global.Olm = require('olm');
|
global.Olm = require('olm');
|
||||||
logger.log('loaded libolm');
|
logger.log('loaded libolm');
|
||||||
|
@ -24,6 +24,7 @@ limitations under the License.
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
import logger from '../src/logger';
|
||||||
|
|
||||||
// we schedule a callback at least this often, to check if we've missed out on
|
// we schedule a callback at least this often, to check if we've missed out on
|
||||||
// some wall-clock time due to being suspended.
|
// some wall-clock time due to being suspended.
|
||||||
@ -39,10 +40,9 @@ let _realCallbackKey;
|
|||||||
// each is an object with keys [runAt, func, params, key].
|
// each is an object with keys [runAt, func, params, key].
|
||||||
const _callbackList = [];
|
const _callbackList = [];
|
||||||
|
|
||||||
import logger from '../src/logger';
|
// var debuglog = logger.log.bind(logger);
|
||||||
|
|
||||||
// var debuglog = console.log.bind(console);
|
|
||||||
const debuglog = function() {};
|
const debuglog = function() {};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Replace the function used by this module to get the current time.
|
* Replace the function used by this module to get the current time.
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user