ember-cli-auto-complete
Advanced tools
Comparing version 0.0.11 to 0.0.12
import Ember from "ember"; | ||
var focusOutEvent; | ||
export default Ember.Component.extend({ | ||
@@ -26,2 +28,3 @@ layoutName: "components/auto-complete", | ||
focusOut: function(){ | ||
clearTimeout(focusOutEvent); | ||
var self = this; | ||
@@ -37,2 +40,3 @@ var func = function(){ | ||
if (optionsToMatch.indexOf(value) === -1) { | ||
self.set("inputVal", ""); | ||
self.set("selectedValue", ""); | ||
@@ -42,3 +46,3 @@ } | ||
}; | ||
Ember.run.later(this, func, 100); | ||
focusOutEvent = Ember.run.later(this, func, 100); | ||
}, | ||
@@ -45,0 +49,0 @@ keyDown: function(event){ |
{ | ||
"name": "ember-cli-auto-complete", | ||
"version": "0.0.11", | ||
"version": "0.0.12", | ||
"description": "ember-cli addon that provides type-ahead selection for text inputs", | ||
@@ -5,0 +5,0 @@ "directories": { |
@@ -11,3 +11,3 @@ # ember-cli-auto-complete | ||
http://emberjs.jsbin.com/becaha/2/ | ||
http://emberjs.jsbin.com/niluhaloke/1 | ||
@@ -14,0 +14,0 @@ ## Installation |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
4549337
28
55110
1