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

Callback on update #9

Merged

Conversation

therebelrobot
Copy link
Collaborator

Refer #5

Depends on #6 #7 #8

@@ -19,6 +19,8 @@ var TypeAhead = function (element, candidates, opts) {

typeAhead.limit = opts.hasOwnProperty('limit') ? opts.limit : 5;

typeAhead.cb = opts.hasOwnProperty('callback') ? opts.callback : function(){};
Copy link
Owner

Choose a reason for hiding this comment

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

let's name it callback instead of cb for readability

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

okiedokes :) will get that change in.

Merge branch 'master' into feature/5-callback-on-update
@therebelrobot
Copy link
Collaborator Author

@marcojetson should be good to go now :) Thanks again for the lib! Got it working like a charm in our analytics platform.

marcojetson added a commit that referenced this pull request Sep 1, 2015
@marcojetson marcojetson merged commit f878518 into marcojetson:master Sep 1, 2015
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.

2 participants