dictionary-typeahead
Advanced tools
Comparing version 3.0.1 to 3.0.2
@@ -62,2 +62,3 @@ 'use strict'; | ||
value: function complete(suggestion, text, pos) { | ||
var self = this; | ||
var tokenBeforeCursor = this._tokenize(text.substring(0, pos), false); | ||
@@ -80,3 +81,2 @@ var tokensAfterCursor = this._tokenize(text.substring(pos, text.length), false); | ||
function buildSuggestionTokens(tokensToConsider, suggestionTokens) { | ||
var self = this; | ||
return prefixHelper(tokensToConsider, suggestionTokens); | ||
@@ -83,0 +83,0 @@ |
@@ -63,2 +63,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){ | ||
value: function complete(suggestion, text, pos) { | ||
var self = this; | ||
var tokenBeforeCursor = this._tokenize(text.substring(0, pos), false); | ||
@@ -81,3 +82,2 @@ var tokensAfterCursor = this._tokenize(text.substring(pos, text.length), false); | ||
function buildSuggestionTokens(tokensToConsider, suggestionTokens) { | ||
var self = this; | ||
return prefixHelper(tokensToConsider, suggestionTokens); | ||
@@ -84,0 +84,0 @@ |
{ | ||
"name": "dictionary-typeahead", | ||
"version": "3.0.1", | ||
"version": "3.0.2", | ||
"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
179406