Skip to content

Conversation

@OlegIlyenko
Copy link
Contributor

No description provided.

@emmenko
Copy link
Member

emmenko commented Apr 3, 2014

@OlegIlyenko please fix the conflicts

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You don't need brackets, just _ = require 'underscore'

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo tast

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo returns

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will set timeout to 100 based on this, since 0 is considered false

@_timeout = options.timeout or 100

If you allow to pass 0 maybe you should adjust the null check, or better use defaults

@_options = _.defaults options,
  attempts: 10
  timeout: 100
  timeoutType: 'variable'

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:( yeah, you are right...

Conflicts:
	README.md
	src/coffee/main.coffee
emmenko added a commit that referenced this pull request Apr 13, 2014
@emmenko emmenko merged commit 2e7e47d into master Apr 13, 2014
@emmenko emmenko deleted the repeater branch April 13, 2014 16:12
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

Successfully merging this pull request may close these issues.

3 participants