Skip to content

Commit d61b71c

Browse files
authored
docs: remove AV.initialize (#387)
1 parent 0d739b0 commit d61b71c

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/init.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
const AV = require('./av');
22
const request = require('./request');
33

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-
*/
104
const initialize = (appId, appKey, masterKey) => {
115
if (AV.applicationId && appId !== AV.applicationId && appKey !== AV.applicationKey && masterKey !== AV.masterKey) {
126
console.warn('LeanCloud SDK is already initialized, please do not reinitialize it.');

0 commit comments

Comments
 (0)