Skip to content

Commit

Permalink
Fixed: API name
Browse files Browse the repository at this point in the history
  • Loading branch information
joe223 committed Aug 9, 2018
1 parent 4750e5f commit dc660a2
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 7 deletions.
4 changes: 2 additions & 2 deletions dist/anka-tracker.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/anka-tracker.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export class Tracker {
this.core.queueManager.suspend(suspended)
}

asycnInitWithCommonData (commonData: object = {}): Promise<void> {
asyncInitWithCommonData (commonData: object = {}): Promise<void> {
return this.commonDataVendor.getCommonData({
onLaunchOption: this.onLaunchOption
}).then(res => {
Expand Down
5 changes: 3 additions & 2 deletions test/anka-tracker.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions test/anka-tracker.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion test/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ App({
// 示意
complete: () => {
// 只有初始化成功后才会开始打点请求
tracker.asycnInitWithCommonData({
tracker.asyncInitWithCommonData({
loginCode: '23333333'
}).then(() => {
console.log('初始化成功,开始执行打点任务')
Expand Down

0 comments on commit dc660a2

Please sign in to comment.