Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

knockout.typeahead

Package Overview
Dependencies
Maintainers
6
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

knockout.typeahead - npm Package Compare versions

Comparing version 4.2.0 to 4.2.1

12

knockout.typeahead.js

@@ -28,2 +28,3 @@ var ko = require("knockout");

} : {};
var remoteData = {

@@ -35,5 +36,6 @@ url: url,

};
if (remoteFilter) {
remoteData.filter = remoteFilter;
};
}

@@ -75,10 +77,10 @@ var resultsLimit = allBindings.get("limit") || 10;

$(element)
.typeahead(jQuery.extend({
.typeahead($.extend({
hint: true,
highlight: true,
highlight: true
}, user_typeahead_options), typeaheadOpts)
.on("typeahead:selected typeahead:autocompleted", function (e, suggestion) {
if (onSelect) {
onSelect(value, suggestion, e)
}else if (value && ko.isObservable(value)) {
onSelect(value, suggestion, e);
} else if (value && ko.isObservable(value)) {
value(suggestion);

@@ -85,0 +87,0 @@ }

{
"name": "knockout.typeahead",
"version": "4.2.0",
"version": "4.2.1",
"description": "Simple knockout binding which wraps Twitter typeahead.js",

@@ -5,0 +5,0 @@ "main": "knockout.typeahead.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc