knockout.typeahead
Advanced tools
Comparing version 4.1.0 to 4.2.0
@@ -20,2 +20,3 @@ var ko = require("knockout"); | ||
var displayedProperty = ko.unwrap(allBindings().displayKey); | ||
var user_typeahead_options = ko.unwrap(allBindings().typeaheadOpts) || {}; | ||
var value = allBindings.get("value"); | ||
@@ -73,6 +74,6 @@ | ||
$(element) | ||
.typeahead({ | ||
.typeahead(jQuery.extend({ | ||
hint: true, | ||
highlight: true | ||
}, typeaheadOpts) | ||
highlight: true, | ||
}, user_typeahead_options), typeaheadOpts) | ||
.on("typeahead:selected typeahead:autocompleted", function (e, suggestion) { | ||
@@ -79,0 +80,0 @@ if (onSelect) { |
{ | ||
"name": "knockout.typeahead", | ||
"version": "4.1.0", | ||
"version": "4.2.0", | ||
"description": "Simple knockout binding which wraps Twitter typeahead.js", | ||
@@ -5,0 +5,0 @@ "main": "knockout.typeahead.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
114503
107
0