Skip to content

fix absence of result with async - #1310

Closed
oadam wants to merge 1 commit into
twitter:masterfrom
oadam:patch-1
Closed

oadam wants to merge 1 commit into
twitter:masterfrom
oadam:patch-1

Conversation

@oadam

@oadam oadam commented Jul 3, 2015

Copy link
Copy Markdown

There was an issue when async was called on a suggestions array such as suggestions.length == that.limit - rendered
The code ended up calling suggestions.slice(0, 0) and nothing was rendered.

Following this change, the async code is more in line with what the sync code does.

There was an issue when `async` was called on a `suggestions` array such as `suggestions.length == that.limit - rendered`
The code ended up calling `suggestions.slice(0, 0)` and nothing was rendered.

Following this change, the `async` code is more in line with what the `sync` code does.
@oadam oadam closed this Jul 3, 2015
@oadam

oadam commented Jul 3, 2015

Copy link
Copy Markdown
Author

closing because duplicate of #1284 :-(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant