dictionary-typeahead
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -79,2 +79,3 @@ 'use strict'; | ||
function buildSuggestionTokens(tokensToConsider, suggestionTokens) { | ||
var self = this; | ||
return prefixHelper(tokensToConsider, suggestionTokens); | ||
@@ -122,3 +123,3 @@ | ||
} else { | ||
if (this._options.prefixMatch) { | ||
if (self._options.prefixMatch) { | ||
// No prefix matches found, return the entire suggestion | ||
@@ -125,0 +126,0 @@ } else { |
@@ -80,2 +80,3 @@ (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){ | ||
function buildSuggestionTokens(tokensToConsider, suggestionTokens) { | ||
var self = this; | ||
return prefixHelper(tokensToConsider, suggestionTokens); | ||
@@ -123,3 +124,3 @@ | ||
} else { | ||
if (this._options.prefixMatch) { | ||
if (self._options.prefixMatch) { | ||
// No prefix matches found, return the entire suggestion | ||
@@ -126,0 +127,0 @@ } else { |
{ | ||
"name": "dictionary-typeahead", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "typeahead that utilizes a custom dictionary", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.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
179410
475