-
Notifications
You must be signed in to change notification settings - Fork 6
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
Callback on update #9
Conversation
@@ -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(){}; |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
@marcojetson should be good to go now :) Thanks again for the lib! Got it working like a charm in our analytics platform. |
Refer #5
Depends on #6 #7 #8