Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation inconsistency: default for time #48

Open
straightdave opened this issue Aug 2, 2019 · 1 comment
Open

Documentation inconsistency: default for time #48

straightdave opened this issue Aug 2, 2019 · 1 comment

Comments

@straightdave
Copy link

(Great stuff! Works perfectly in my case.)

One small thing in the document: the default of time is not 1000, but seems 0.

@straightdave straightdave changed the title Documentation inconsistency Documentation inconsistency: default for time Aug 2, 2019
@masongzhi
Copy link
Contributor

yes, you find it

return {
    name: config.name,
    time: config.time || 0,
    repeat: 'repeat' in config ? config.repeat : false,
    immediate: 'immediate' in config ? config.immediate : false,
    autostart: 'autostart' in config ? config.autostart : false,
    isSwitchTab: 'isSwitchTab' in config ? config.isSwitchTab : false,
    callback: (config.callback && config.callback.bind(vm)) || vm[config.name]
  }

@Kelin2025 it should change the readme or code?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants