meteor-bootstrap_key-value-tag-input
Advanced tools
Comparing version 3.2.1 to 3.2.2
@@ -391,5 +391,5 @@ 'use strict'; | ||
} | ||
var event = new CustomEvent("keyValueEntriesChanged", { detail: templateInstance.entries.get() }); | ||
if (templateInstance.element) { | ||
var event_1 = new CustomEvent("keyValueEntriesChanged", { detail: templateInstance.entries.get() }); | ||
tracker.Tracker.afterFlush(function () { return window.setTimeout(function () { return templateInstance.element.dispatchEvent(event_1); }, 100); }); // make sure keyValueInput stays responsive; apply changes a little later | ||
tracker.Tracker.afterFlush(function () { return window.setTimeout(function () { return templateInstance.element.dispatchEvent(event); }, 100); }); // make sure keyValueInput stays responsive; apply changes a little later | ||
} | ||
@@ -396,0 +396,0 @@ } |
{ | ||
"name": "meteor-bootstrap_key-value-tag-input", | ||
"version": "3.2.1", | ||
"version": "3.2.2", | ||
"description": "A reactive input field for tags and key-value data, developed for meteor apps running bootstrap.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -372,5 +372,5 @@ import { ReactiveVar } from "meteor/reactive-var"; | ||
} | ||
var event = new CustomEvent("keyValueEntriesChanged", { detail: templateInstance.entries.get() }); | ||
if (templateInstance.element) { | ||
var event_1 = new CustomEvent("keyValueEntriesChanged", { detail: templateInstance.entries.get() }); | ||
Tracker.afterFlush(function () { return window.setTimeout(function () { return templateInstance.element.dispatchEvent(event_1); }, 100); }); // make sure keyValueInput stays responsive; apply changes a little later | ||
Tracker.afterFlush(function () { return window.setTimeout(function () { return templateInstance.element.dispatchEvent(event); }, 100); }); // make sure keyValueInput stays responsive; apply changes a little later | ||
} | ||
@@ -377,0 +377,0 @@ } |
@@ -420,7 +420,7 @@ import { Blaze } from "meteor/blaze"; | ||
if (!Tracker.inFlush()) { Tracker.flush(); } | ||
const event: KeyValueEntriesChangedEvent = new CustomEvent( | ||
"keyValueEntriesChanged", | ||
{ detail: templateInstance.entries.get() }, | ||
); | ||
if (templateInstance.element) { | ||
const event: KeyValueEntriesChangedEvent = new CustomEvent( | ||
"keyValueEntriesChanged", | ||
{ detail: templateInstance.entries.get() }, | ||
); | ||
Tracker.afterFlush(() => window.setTimeout( | ||
@@ -427,0 +427,0 @@ () => templateInstance.element.dispatchEvent(event), |
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
216992