Socket
Socket
Sign inDemoInstall

meteor-bootstrap_key-value-tag-input

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

meteor-bootstrap_key-value-tag-input - npm Package Compare versions

Comparing version 3.3.1 to 3.3.2

8

dist/keyValueInput.js

@@ -391,6 +391,6 @@ 'use strict';

}
var event = new CustomEvent("keyValueEntriesChanged", { detail: templateInstance.entries.get() });
if (templateInstance.element) {
tracker.Tracker.afterFlush(function () { return window.setTimeout(function () { return templateInstance.element.dispatchEvent(event); }, 100); }); // make sure keyValueInput stays responsive; apply changes a little later
}
tracker.Tracker.afterFlush(function () {
var event = new CustomEvent("keyValueEntriesChanged", { detail: templateInstance.entries.get() });
window.setTimeout(function () { var _a; return (_a = templateInstance.element) === null || _a === void 0 ? void 0 : _a.dispatchEvent(event); }, 100); // make sure keyValueInput stays responsive; apply changes a little later
});
}

@@ -397,0 +397,0 @@ function buildSuggestions(templateInstance) {

{
"name": "meteor-bootstrap_key-value-tag-input",
"version": "3.3.1",
"version": "3.3.2",
"description": "A reactive input field for tags and key-value data, developed for meteor apps running bootstrap.",

@@ -5,0 +5,0 @@ "keywords": [

@@ -372,6 +372,6 @@ import { ReactiveVar } from "meteor/reactive-var";

}
var event = new CustomEvent("keyValueEntriesChanged", { detail: templateInstance.entries.get() });
if (templateInstance.element) {
Tracker.afterFlush(function () { return window.setTimeout(function () { return templateInstance.element.dispatchEvent(event); }, 100); }); // make sure keyValueInput stays responsive; apply changes a little later
}
Tracker.afterFlush(function () {
var event = new CustomEvent("keyValueEntriesChanged", { detail: templateInstance.entries.get() });
window.setTimeout(function () { var _a; return (_a = templateInstance.element) === null || _a === void 0 ? void 0 : _a.dispatchEvent(event); }, 100); // make sure keyValueInput stays responsive; apply changes a little later
});
}

@@ -378,0 +378,0 @@ function buildSuggestions(templateInstance) {

@@ -37,3 +37,3 @@ import { Blaze } from "meteor/blaze";

textInput: JQuery;
element: HTMLDivElement;
element?: HTMLDivElement;

@@ -421,12 +421,12 @@ data: KeyValueInputTemplateData;

if (!Tracker.inFlush()) { Tracker.flush(); }
const event: KeyValueEntriesChangedEvent = new CustomEvent(
"keyValueEntriesChanged",
{ detail: templateInstance.entries.get() },
);
if (templateInstance.element) {
Tracker.afterFlush(() => window.setTimeout(
() => templateInstance.element.dispatchEvent(event),
Tracker.afterFlush(() => {
const event: KeyValueEntriesChangedEvent = new CustomEvent(
"keyValueEntriesChanged",
{ detail: templateInstance.entries.get() },
);
window.setTimeout(
() => templateInstance.element?.dispatchEvent(event),
100,
)); // make sure keyValueInput stays responsive; apply changes a little later
}
); // make sure keyValueInput stays responsive; apply changes a little later
});
}

@@ -433,0 +433,0 @@

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