Skip to content

Commit fbcbfdc

Browse files
committed
[fix] 修正 init 的注释说明
[fix] jsdoc 修正。
1 parent 19cd953 commit fbcbfdc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/utils.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,8 @@ module.exports = function(AV) {
9999

100100
/**
101101
* Call this method first to set up your authentication tokens for AV.
102-
* You can get your keys from the Data Browser on http://leancloud.cn .
102+
* You can get your app keys from the LeanCloud dashboard on http://leancloud.cn .
103+
* @function AV.init
103104
* @param args initialize options.
104105
* @param args.appId application id
105106
* @param args.appKey application key
@@ -150,6 +151,7 @@ module.exports = function(AV) {
150151

151152
/**
152153
* Call this method to set production environment variable.
154+
* @function AV.setProduction
153155
* @param {Boolean} production True is production environment,and
154156
* it's true by default.
155157
*/

0 commit comments

Comments
 (0)