New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

knockout.autocomplete

Package Overview
Dependencies
Maintainers
4
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

knockout.autocomplete - npm Package Compare versions

Comparing version 1.1.1 to 1.2.0

10

examples/TimeComplete.js

@@ -28,4 +28,14 @@ /*global ko*/

this.visible = ko.observable(false);
this.focused = ko.observable(false);
this.visible.subscribe(function (value) {
if (value) {
this.focused(true);
}
}, this);
}
TimeComplete.prototype.hide = function (viewModel) {
viewModel.visible(false);
};
TimeComplete.prototype.toggleVisible = function (viewModel, event) {

@@ -32,0 +42,0 @@ if (event.button === 0) {

@@ -470,2 +470,7 @@ /*global ko, jQuery, define, document, window*/

} else {
$dropdown.on('mouseenter', 'li', function (e) {
var index = $(this).data('index');
moveSelection(selectedIndex, index);
});
$dropdown.on('mousedown', 'li', function (e) {

@@ -472,0 +477,0 @@ if (e.type === 'mousedown' && e.which !== 1) {

2

package.json
{
"name": "knockout.autocomplete",
"version": "1.1.1",
"version": "1.2.0",
"author": "Sune Sloth Simonsen <sune@we-knowhow.dk>",

@@ -5,0 +5,0 @@ "dependencies": {},

Sorry, the diff of this file is not supported yet

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