We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d739b0 commit d61b71cCopy full SHA for d61b71c
src/init.js
@@ -1,12 +1,6 @@
1
const AV = require('./av');
2
const request = require('./request');
3
4
-/**
5
- * Call this method first to set up authentication tokens for AV.
6
- * This method is for AV's own private use.
7
- * @param {String} applicationId Your AV Application ID.
8
- * @param {String} applicationKey Your AV Application Key
9
- */
10
const initialize = (appId, appKey, masterKey) => {
11
if (AV.applicationId && appId !== AV.applicationId && appKey !== AV.applicationKey && masterKey !== AV.masterKey) {
12
console.warn('LeanCloud SDK is already initialized, please do not reinitialize it.');
0 commit comments