doofinder
Advanced tools
Comparing version 3.0.2 to 3.0.3
{ | ||
"name": "doofinder", | ||
"description": "Javascript Library for Doofinder Search API", | ||
"version": "3.0.2", | ||
"version": "3.0.3", | ||
"main": "dist/doofinder.js", | ||
@@ -6,0 +6,0 @@ "authors": [ |
(function() { | ||
module.exports = { | ||
version: "3.0.2", | ||
version: "3.0.3", | ||
Client: require("./client"), | ||
@@ -5,0 +5,0 @@ Mustache: require("mustache"), |
@@ -82,5 +82,6 @@ | ||
return function(text, render) { | ||
var key; | ||
var key, keys; | ||
key = render(text); | ||
if (translations && key in translations) { | ||
keys = Object.keys(translations); | ||
if (translations && keys.indexOf(key) > -1) { | ||
return translations[key]; | ||
@@ -87,0 +88,0 @@ } else { |
{ | ||
"name": "doofinder", | ||
"version": "3.0.2", | ||
"version": "3.0.3", | ||
"description": "Javascript Library for Doofinder Search API", | ||
@@ -5,0 +5,0 @@ "main": "lib/doofinder.js", |
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
86245
1876