id: 1 unit: module.exports = function() file: Gruntfile.js start line: 33 end line: 330 size: 265 LOC McCabe index: 4 number of parameters: 1 id: 2 unit: function buildCss() file: src/typeahead/www.js start line: 61 end line: 112 size: 46 LOC McCabe index: 2 number of parameters: 0 id: 3 unit: function attach() file: src/typeahead/plugin.js start line: 34 end line: 87 size: 39 LOC McCabe index: 12 number of parameters: 0 id: 4 unit: function parseRemote() file: src/bloodhound/options_parser.js start line: 74 end line: 112 size: 28 LOC McCabe index: 6 number of parameters: 1 id: 5 unit: function Dataset() file: src/typeahead/dataset.js start line: 22 end line: 63 size: 26 LOC McCabe index: 13 number of parameters: 2 id: 6 unit: search: function search() file: src/bloodhound/search_index.js start line: 72 end line: 106 size: 25 LOC McCabe index: 9 number of parameters: 1 id: 7 unit: function parsePrefetch() file: src/bloodhound/options_parser.js start line: 41 end line: 72 size: 22 LOC McCabe index: 7 number of parameters: 1 id: 8 unit: bind: function() file: src/typeahead/input.js start line: 163 end line: 195 size: 21 LOC McCabe index: 5 number of parameters: 0 id: 9 unit: throttle: function() file: src/common/utils.js start line: 126 end line: 156 size: 20 LOC McCabe index: 3 number of parameters: 2 id: 10 unit: function getIntersection() file: src/bloodhound/search_index.js start line: 165 end line: 190 size: 20 LOC McCabe index: 5 number of parameters: 2 id: 11 unit: _getSuggestionsFragment: function getSuggestionsFragment() file: src/typeahead/dataset.js start line: 182 end line: 206 size: 19 LOC McCabe index: 2 number of parameters: 2 id: 12 unit: function Input() file: src/typeahead/input.js start line: 25 end line: 57 size: 19 LOC McCabe index: 5 number of parameters: 2 id: 13 unit: function buildOverflowHelper() file: src/typeahead/input.js start line: 309 end line: 330 size: 19 LOC McCabe index: 1 number of parameters: 1 id: 14 unit: add: function() file: src/bloodhound/search_index.js start line: 41 end line: 64 size: 18 LOC McCabe index: 4 number of parameters: 1 id: 15 unit: set: function set() file: src/bloodhound/lru_cache.js start line: 23 end line: 49 size: 18 LOC McCabe index: 3 number of parameters: 2 id: 16 unit: function revert() file: src/typeahead/plugin.js start line: 259 end line: 281 size: 17 LOC McCabe index: 3 number of parameters: 1 id: 17 unit: function toRemotePrepare() file: src/bloodhound/options_parser.js start line: 114 end line: 150 size: 17 LOC McCabe index: 4 number of parameters: 1 id: 18 unit: _overwrite: function overwrite() file: src/typeahead/dataset.js start line: 88 end line: 112 size: 16 LOC McCabe index: 7 number of parameters: 2 id: 19 unit: (function()() file: src/typeahead/plugin.js start line: 7 end line: 291 size: 16 LOC McCabe index: 1 number of parameters: 1 id: 20 unit: _get: function() file: src/bloodhound/transport.js start line: 53 end line: 98 size: 16 LOC McCabe index: 5 number of parameters: 2 id: 21 unit: _ensureVisible: function ensureVisible() file: src/typeahead/menu.js start line: 80 end line: 97 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 22 unit: function Bloodhound() file: src/bloodhound/bloodhound.js start line: 17 end line: 37 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 23 unit: _loadPrefetch: function loadPrefetch() file: src/bloodhound/bloodhound.js start line: 72 end line: 99 size: 15 LOC McCabe index: 3 number of parameters: 0 id: 24 unit: function getNextTick() file: src/typeahead/event_emitter.js start line: 94 end line: 112 size: 14 LOC McCabe index: 2 number of parameters: 0 id: 25 unit: bind: function() file: src/typeahead/menu.js start line: 101 end line: 117 size: 14 LOC McCabe index: 1 number of parameters: 0 id: 26 unit: isCursorAtEnd: function() file: src/typeahead/input.js start line: 272 end line: 292 size: 14 LOC McCabe index: 3 number of parameters: 0 id: 27 unit: get: function() file: src/bloodhound/transport.js start line: 102 end line: 122 size: 14 LOC McCabe index: 5 number of parameters: 2 id: 28 unit: nonword: getObjTokenizer() file: src/bloodhound/tokenizers.js start line: 14 end line: 30 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 29 unit: _append: function append() file: src/typeahead/dataset.js start line: 114 end line: 133 size: 13 LOC McCabe index: 7 number of parameters: 2 id: 30 unit: function prepInput() file: src/typeahead/plugin.js start line: 226 end line: 244 size: 13 LOC McCabe index: 3 number of parameters: 2 id: 31 unit: _setQuery: function setQuery() file: src/typeahead/input.js start line: 143 end line: 159 size: 13 LOC McCabe index: 6 number of parameters: 2 id: 32 unit: function on() file: src/typeahead/event_emitter.js start line: 21 end line: 37 size: 12 LOC McCabe index: 6 number of parameters: 4 id: 33 unit: function trigger() file: src/typeahead/event_emitter.js start line: 61 end line: 77 size: 12 LOC McCabe index: 5 number of parameters: 1 id: 34 unit: function hightlightTextNode() file: src/typeahead/highlight.js start line: 37 end line: 52 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 35 unit: function traverse() file: src/typeahead/highlight.js start line: 54 end line: 68 size: 12 LOC McCabe index: 4 number of parameters: 2 id: 36 unit: function getBackgroundStyles() file: src/typeahead/plugin.js start line: 246 end line: 257 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 37 unit: _managePreventDefault: function managePreventDefault() file: src/typeahead/input.js start line: 102 end line: 116 size: 12 LOC McCabe index: 4 number of parameters: 2 id: 38 unit: function getObjTokenizer() file: src/bloodhound/tokenizers.js start line: 29 end line: 43 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 39 unit: search: function search() file: src/bloodhound/bloodhound.js start line: 132 end line: 164 size: 12 LOC McCabe index: 5 number of parameters: 3 id: 40 unit: function Menu() file: src/typeahead/menu.js start line: 13 end line: 36 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 41 unit: update: function update() file: src/typeahead/dataset.js start line: 236 end line: 278 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 42 unit: val: function val() file: src/typeahead/plugin.js start line: 164 end line: 176 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 43 unit: _shouldTrigger: function shouldTrigger() file: src/typeahead/input.js start line: 118 end line: 131 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 44 unit: debounce: function() file: src/common/utils.js start line: 104 end line: 124 size: 11 LOC McCabe index: 3 number of parameters: 3 id: 45 unit: fromCache: function fromCache() file: src/bloodhound/prefetch.js start line: 51 end line: 70 size: 11 LOC McCabe index: 5 number of parameters: 0 id: 46 unit: function getRegex() file: src/typeahead/highlight.js start line: 71 end line: 83 size: 10 LOC McCabe index: 4 number of parameters: 3 id: 47 unit: selectableRelativeToCursor: function selectableRelativeToCursor() file: src/typeahead/menu.js start line: 136 end line: 151 size: 10 LOC McCabe index: 4 number of parameters: 1 id: 48 unit: function sync() file: src/typeahead/dataset.js start line: 251 end line: 263 size: 10 LOC McCabe index: 5 number of parameters: 1 id: 49 unit: function buildHintFromInput() file: src/typeahead/plugin.js start line: 215 end line: 224 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 50 unit: every: function() file: src/common/utils.js start line: 57 end line: 69 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 51 unit: some: function() file: src/common/utils.js start line: 71 end line: 83 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 52 unit: function Remote() file: src/bloodhound/remote.js start line: 13 end line: 23 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 53 unit: function SearchIndex() file: src/bloodhound/search_index.js start line: 15 end line: 27 size: 10 LOC McCabe index: 5 number of parameters: 1 id: 54 unit: function unique() file: src/bloodhound/search_index.js start line: 152 end line: 163 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 55 unit: _safeSet: function() file: src/bloodhound/persistent_storage.js start line: 60 end line: 70 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 56 unit: function toLimiter() file: src/bloodhound/options_parser.js start line: 152 end line: 172 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 57 unit: function Prefetch() file: src/bloodhound/prefetch.js start line: 18 end line: 28 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 58 unit: function off() file: src/typeahead/event_emitter.js start line: 47 end line: 59 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 59 unit: update: function update() file: src/typeahead/menu.js start line: 181 end line: 193 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 60 unit: function async() file: src/typeahead/dataset.js start line: 265 end line: 277 size: 9 LOC McCabe index: 5 number of parameters: 1 id: 61 unit: function getTemplates() file: src/typeahead/dataset.js start line: 312 end line: 324 size: 9 LOC McCabe index: 6 number of parameters: 2 id: 62 unit: _onRendered: function onRendered() file: src/typeahead/default_menu.js start line: 31 end line: 41 size: 9 LOC McCabe index: 3 number of parameters: 0 id: 63 unit: _onCleared: function onCleared() file: src/typeahead/default_menu.js start line: 43 end line: 53 size: 9 LOC McCabe index: 3 number of parameters: 0 id: 64 unit: set: function() file: src/bloodhound/persistent_storage.js start line: 82 end line: 92 size: 9 LOC McCabe index: 2 number of parameters: 3 id: 65 unit: function gatherMatchingKeys() file: src/bloodhound/persistent_storage.js start line: 136 end line: 146 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 66 unit: function processRemote() file: src/bloodhound/bloodhound.js start line: 152 end line: 163 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 67 unit: _renderSuggestions: function renderSuggestions() file: src/typeahead/dataset.js start line: 135 end line: 144 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 68 unit: _renderPending: function renderPending() file: src/typeahead/dataset.js start line: 157 end line: 165 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 69 unit: _renderNotFound: function renderNotFound() file: src/typeahead/dataset.js start line: 167 end line: 175 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 70 unit: _getFooter: function getFooter() file: src/typeahead/dataset.js start line: 208 end line: 215 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 71 unit: _getHeader: function getHeader() file: src/typeahead/dataset.js start line: 217 end line: 224 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 72 unit: $.fn.typeahead = function() file: src/typeahead/plugin.js start line: 188 end line: 197 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 73 unit: _checkLanguageDirection: function checkLanguageDirection() file: src/typeahead/input.js start line: 133 end line: 141 size: 8 LOC McCabe index: 3 number of parameters: 0 id: 74 unit: clearHintIfInvalid: function clearHintIfInvalid() file: src/typeahead/input.js start line: 248 end line: 257 size: 8 LOC McCabe index: 5 number of parameters: 0 id: 75 unit: add: function add() file: src/bloodhound/lru_cache.js start line: 72 end line: 80 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 76 unit: function Transport() file: src/bloodhound/transport.js start line: 18 end line: 28 size: 8 LOC McCabe index: 4 number of parameters: 1 id: 77 unit: function always() file: src/bloodhound/transport.js start line: 88 end line: 97 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 78 unit: _initialize: function initialize() file: src/bloodhound/bloodhound.js start line: 101 end line: 113 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 79 unit: fromNetwork: function() file: src/bloodhound/prefetch.js start line: 72 end line: 82 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 80 unit: function flush() file: src/typeahead/event_emitter.js start line: 82 end line: 91 size: 7 LOC McCabe index: 3 number of parameters: 0 id: 81 unit: setCursor: function setCursor() file: src/typeahead/menu.js start line: 153 end line: 163 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 82 unit: _trigger: function() file: src/typeahead/event_bus.js start line: 43 end line: 52 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 83 unit: trigger: function() file: src/typeahead/event_bus.js start line: 65 end line: 74 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 84 unit: _appendSuggestions: function appendSuggestions() file: src/typeahead/dataset.js start line: 146 end line: 155 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 85 unit: initialize: function initialize() file: src/typeahead/plugin.js start line: 24 end line: 88 size: 7 LOC McCabe index: 3 number of parameters: 2 id: 86 unit: _onKeydown: function onKeydown() file: src/typeahead/input.js start line: 84 end line: 92 size: 7 LOC McCabe index: 4 number of parameters: 1 id: 87 unit: get: function get() file: src/bloodhound/remote.js start line: 37 end line: 50 size: 7 LOC McCabe index: 3 number of parameters: 2 id: 88 unit: all: function all() file: src/bloodhound/search_index.js start line: 108 end line: 116 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 89 unit: function LruCache() file: src/bloodhound/lru_cache.js start line: 12 end line: 20 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 90 unit: get: function get() file: src/bloodhound/lru_cache.js start line: 51 end line: 58 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 91 unit: function PersistentStorage() file: src/bloodhound/persistent_storage.js start line: 26 end line: 36 size: 7 LOC McCabe index: 3 number of parameters: 2 id: 92 unit: _noop: function() file: src/bloodhound/persistent_storage.js start line: 52 end line: 58 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 93 unit: clear: function() file: src/bloodhound/persistent_storage.js start line: 101 end line: 109 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 94 unit: function callbackToDeferred() file: src/bloodhound/options_parser.js start line: 174 end line: 194 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 95 unit: css: buildCss() file: src/typeahead/www.js start line: 32 end line: 38 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 96 unit: function buildHtml() file: src/typeahead/www.js start line: 47 end line: 52 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 97 unit: empty: function empty() file: src/typeahead/menu.js start line: 195 end line: 202 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 98 unit: destroy: function destroy() file: src/typeahead/menu.js start line: 204 end line: 213 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 99 unit: function EventBus() file: src/typeahead/event_bus.js start line: 28 end line: 34 size: 6 LOC McCabe index: 3 number of parameters: 1 id: 100 unit: before: function() file: src/typeahead/event_bus.js start line: 56 end line: 63 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 101 unit: function ttEach() file: src/typeahead/plugin.js start line: 207 end line: 213 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 102 unit: function $elOrNull() file: src/typeahead/plugin.js start line: 283 end line: 290 size: 6 LOC McCabe index: 4 number of parameters: 1 id: 103 unit: destroy: function destroy() file: src/typeahead/input.js start line: 294 end line: 301 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 104 unit: function newNode() file: src/bloodhound/search_index.js start line: 143 end line: 150 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 105 unit: get: function() file: src/bloodhound/persistent_storage.js start line: 74 end line: 80 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 106 unit: function done() file: src/bloodhound/bloodhound.js start line: 92 end line: 98 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 107 unit: store: function store() file: src/bloodhound/prefetch.js start line: 43 end line: 49 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 108 unit: function bindContext() file: src/typeahead/event_emitter.js start line: 114 end line: 118 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 109 unit: function buildSelectors() file: src/typeahead/www.js start line: 54 end line: 59 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 110 unit: function initializeDataset() file: src/typeahead/menu.js start line: 30 end line: 35 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 111 unit: clear: function clear() file: src/typeahead/dataset.js start line: 283 end line: 287 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 112 unit: function getDisplayFn() file: src/typeahead/dataset.js start line: 304 end line: 310 size: 5 LOC McCabe index: 3 number of parameters: 1 id: 113 unit: isEnabled: function isEnabled() file: src/typeahead/plugin.js start line: 90 end line: 95 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 114 unit: isActive: function isActive() file: src/typeahead/plugin.js start line: 107 end line: 112 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 115 unit: isOpen: function isOpen() file: src/typeahead/plugin.js start line: 124 end line: 129 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 116 unit: select: function select() file: src/typeahead/plugin.js start line: 141 end line: 146 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 117 unit: autocomplete: function autocomplete() file: src/typeahead/plugin.js start line: 148 end line: 153 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 118 unit: moveCursor: function moveCursoe() file: src/typeahead/plugin.js start line: 155 end line: 160 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 119 unit: _onInput: function onInput() file: src/typeahead/input.js start line: 94 end line: 98 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 120 unit: setInputValue: function setInputValue() file: src/typeahead/input.js start line: 226 end line: 230 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 121 unit: hasOverflow: function hasOverflow() file: src/typeahead/input.js start line: 263 end line: 270 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 122 unit: later = function() file: src/common/utils.js start line: 130 end line: 134 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 123 unit: function normalizeTokens() file: src/bloodhound/search_index.js start line: 133 end line: 141 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 124 unit: reset: function reset() file: src/bloodhound/lru_cache.js start line: 60 end line: 64 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 125 unit: function Node() file: src/bloodhound/lru_cache.js start line: 93 end line: 97 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 126 unit: remove: function() file: src/bloodhound/persistent_storage.js start line: 94 end line: 99 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 127 unit: whitespace: getObjTokenizer() file: src/bloodhound/tokenizers.js start line: 15 end line: 30 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 128 unit: function build() file: src/typeahead/www.js start line: 26 end line: 45 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 129 unit: html: buildHtml() file: src/typeahead/www.js start line: 34 end line: 38 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 130 unit: _onRendered: function onRendered() file: src/typeahead/menu.js start line: 49 end line: 52 size: 4 LOC McCabe index: 1 number of parameters: 4 id: 131 unit: _onCleared: function onCleared() file: src/typeahead/menu.js start line: 54 end line: 57 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 132 unit: _allDatasetsEmpty: function allDatasetsEmpty() file: src/typeahead/menu.js start line: 65 end line: 69 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 133 unit: _removeCursor: function _removeCursor() file: src/typeahead/menu.js start line: 75 end line: 78 size: 4 LOC McCabe index: 2 number of parameters: 0 id: 134 unit: close: function close() file: src/typeahead/menu.js start line: 127 end line: 130 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 135 unit: getActiveSelectable: function getActiveSelectable() file: src/typeahead/menu.js start line: 169 end line: 173 size: 4 LOC McCabe index: 2 number of parameters: 0 id: 136 unit: getTopSelectable: function getTopSelectable() file: src/typeahead/menu.js start line: 175 end line: 179 size: 4 LOC McCabe index: 2 number of parameters: 0 id: 137 unit: _empty: function empty() file: src/typeahead/dataset.js start line: 177 end line: 180 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 138 unit: enable: function enable() file: src/typeahead/plugin.js start line: 97 end line: 100 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 139 unit: disable: function disable() file: src/typeahead/plugin.js start line: 102 end line: 105 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 140 unit: activate: function activate() file: src/typeahead/plugin.js start line: 114 end line: 117 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 141 unit: deactivate: function deactivate() file: src/typeahead/plugin.js start line: 119 end line: 122 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 142 unit: open: function open() file: src/typeahead/plugin.js start line: 131 end line: 134 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 143 unit: close: function close() file: src/typeahead/plugin.js start line: 136 end line: 139 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 144 unit: ttEach() file: src/typeahead/plugin.js start line: 179 end line: 182 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 145 unit: open: function open() file: src/typeahead/default_menu.js start line: 20 end line: 24 size: 4 LOC McCabe index: 2 number of parameters: 0 id: 146 unit: close: function close() file: src/typeahead/default_menu.js start line: 26 end line: 29 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 147 unit: setLanguageDirection: function setLanguageDirection() file: src/typeahead/default_menu.js start line: 55 end line: 58 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 148 unit: _onBlur: function onBlur() file: src/typeahead/input.js start line: 74 end line: 77 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 149 unit: _onFocus: function onFocus() file: src/typeahead/input.js start line: 79 end line: 82 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 150 unit: setQuery: function setQuery() file: src/typeahead/input.js start line: 213 end line: 216 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 151 unit: isMsie: function() file: src/common/utils.js start line: 11 end line: 15 size: 4 LOC McCabe index: 2 number of parameters: 0 id: 152 unit: each: function() file: src/common/utils.js start line: 46 end line: 51 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 153 unit: getIdGenerator: function() file: src/common/utils.js start line: 91 end line: 94 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 154 unit: templatify: function templatify() file: src/common/utils.js start line: 96 end line: 100 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 155 unit: later = function() file: src/common/utils.js start line: 110 end line: 113 size: 4 LOC McCabe index: 2 number of parameters: 0 id: 156 unit: bootstrap: function bootstrap() file: src/bloodhound/search_index.js start line: 36 end line: 39 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 157 unit: get: function get() file: src/bloodhound/search_index.js start line: 66 end line: 70 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 158 unit: reset: function reset() file: src/bloodhound/search_index.js start line: 118 end line: 121 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 159 unit: remove: function remove() file: src/bloodhound/lru_cache.js start line: 82 end line: 85 size: 4 LOC McCabe index: 3 number of parameters: 1 id: 160 unit: moveToFront: function() file: src/bloodhound/lru_cache.js start line: 87 end line: 90 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 161 unit: _fingerprint: function fingerprint() file: src/bloodhound/transport.js start line: 48 end line: 51 size: 4 LOC McCabe index: 3 number of parameters: 1 id: 162 unit: function done() file: src/bloodhound/transport.js start line: 79 end line: 82 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 163 unit: isExpired: function() file: src/bloodhound/persistent_storage.js start line: 111 end line: 115 size: 4 LOC McCabe index: 3 number of parameters: 1 id: 164 unit: function whitespace() file: src/bloodhound/tokenizers.js start line: 19 end line: 22 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 165 unit: function nonword() file: src/bloodhound/tokenizers.js start line: 24 end line: 27 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 166 unit: function prepareByReplace() file: src/bloodhound/options_parser.js start line: 137 end line: 140 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 167 unit: function prepareByWildcard() file: src/bloodhound/options_parser.js start line: 142 end line: 145 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 168 unit: __ttAdapter: function ttAdapter() file: src/bloodhound/bloodhound.js start line: 56 end line: 68 size: 4 LOC McCabe index: 2 number of parameters: 0 id: 169 unit: add: function add() file: src/bloodhound/bloodhound.js start line: 122 end line: 125 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 170 unit: get: function get() file: src/bloodhound/bloodhound.js start line: 127 end line: 130 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 171 unit: clear: function clear() file: src/bloodhound/bloodhound.js start line: 170 end line: 173 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 172 unit: clearPrefetchCache: function clearPrefetchCache() file: src/bloodhound/bloodhound.js start line: 175 end line: 178 size: 4 LOC McCabe index: 2 number of parameters: 0 id: 173 unit: clearRemoteCache: function clearRemoteCache() file: src/bloodhound/bloodhound.js start line: 180 end line: 183 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 174 unit: clear: function clear() file: src/bloodhound/prefetch.js start line: 84 end line: 87 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 175 unit: function onAsync() file: src/typeahead/event_emitter.js start line: 39 end line: 41 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 176 unit: function onSync() file: src/typeahead/event_emitter.js start line: 43 end line: 45 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 177 unit: function getFlush() file: src/typeahead/event_emitter.js start line: 79 end line: 92 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 178 unit: selectors: buildSelectors() file: src/typeahead/www.js start line: 35 end line: 38 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 179 unit: _onSelectableClick: function onSelectableClick() file: src/typeahead/menu.js start line: 45 end line: 47 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 180 unit: _propagate: function propagate() file: src/typeahead/menu.js start line: 59 end line: 61 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 181 unit: _getSelectables: function getSelectables() file: src/typeahead/menu.js start line: 71 end line: 73 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 182 unit: isOpen: function isOpen() file: src/typeahead/menu.js start line: 119 end line: 121 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 183 unit: open: function open() file: src/typeahead/menu.js start line: 123 end line: 125 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 184 unit: setLanguageDirection: function setLanguageDirection() file: src/typeahead/menu.js start line: 132 end line: 134 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 185 unit: getSelectableData: function getSelectableData() file: src/typeahead/menu.js start line: 165 end line: 167 size: 3 LOC McCabe index: 3 number of parameters: 1 id: 186 unit: _resetLastSuggestion: function resetLastSuggestion() file: src/typeahead/dataset.js start line: 226 end line: 228 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 187 unit: _injectQuery: function injectQuery() file: src/typeahead/dataset.js start line: 230 end line: 232 size: 3 LOC McCabe index: 2 number of parameters: 2 id: 188 unit: isEmpty: function isEmpty() file: src/typeahead/dataset.js start line: 289 end line: 291 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 189 unit: destroy: function destroy() file: src/typeahead/dataset.js start line: 293 end line: 296 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 190 unit: function suggestionTemplate() file: src/typeahead/dataset.js start line: 321 end line: 323 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 191 unit: function isValidName() file: src/typeahead/dataset.js start line: 326 end line: 329 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 192 unit: destroy: function destroy() file: src/typeahead/plugin.js start line: 178 end line: 185 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 193 unit: function DefaultMenu() file: src/typeahead/default_menu.js start line: 12 end line: 14 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 194 unit: _hide: function hide() file: src/typeahead/default_menu.js start line: 63 end line: 65 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 195 unit: _show: function show() file: src/typeahead/default_menu.js start line: 67 end line: 71 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 196 unit: Input.normalizeQuery = function() file: src/typeahead/input.js start line: 62 end line: 65 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 197 unit: focus: function focus() file: src/typeahead/input.js start line: 197 end line: 199 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 198 unit: blur: function blur() file: src/typeahead/input.js start line: 201 end line: 203 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 199 unit: getLangDir: function getLangDir() file: src/typeahead/input.js start line: 205 end line: 207 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 200 unit: getQuery: function getQuery() file: src/typeahead/input.js start line: 209 end line: 211 size: 3 LOC McCabe index: 2 number of parameters: 0 id: 201 unit: hasQueryChangedSinceLastFocus: function hasQueryChangedSinceLastFocus() file: src/typeahead/input.js start line: 218 end line: 220 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 202 unit: getInputValue: function getInputValue() file: src/typeahead/input.js start line: 222 end line: 224 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 203 unit: resetInputValue: function resetInputValue() file: src/typeahead/input.js start line: 232 end line: 234 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 204 unit: getHint: function getHint() file: src/typeahead/input.js start line: 236 end line: 238 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 205 unit: setHint: function setHint() file: src/typeahead/input.js start line: 240 end line: 242 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 206 unit: clearHint: function clearHint() file: src/typeahead/input.js start line: 244 end line: 246 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 207 unit: hasFocus: function hasFocus() file: src/typeahead/input.js start line: 259 end line: 261 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 208 unit: function areQueriesEquivalent() file: src/typeahead/input.js start line: 332 end line: 334 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 209 unit: function withModifier() file: src/typeahead/input.js start line: 336 end line: 338 size: 3 LOC McCabe index: 4 number of parameters: 1 id: 210 unit: escapeRegExChars: function() file: src/common/utils.js start line: 20 end line: 22 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 211 unit: toStr: function toStr() file: src/common/utils.js start line: 40 end line: 42 size: 3 LOC McCabe index: 3 number of parameters: 1 id: 212 unit: stringify: function() file: src/common/utils.js start line: 158 end line: 160 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 213 unit: _settings: function settings() file: src/bloodhound/remote.js start line: 31 end line: 33 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 214 unit: function onResponse() file: src/bloodhound/remote.js start line: 47 end line: 49 size: 3 LOC McCabe index: 2 number of parameters: 2 id: 215 unit: cancelLastRequest: function cancelLastRequest() file: src/bloodhound/remote.js start line: 52 end line: 54 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 216 unit: serialize: function serialize() file: src/bloodhound/search_index.js start line: 123 end line: 125 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 217 unit: function List() file: src/bloodhound/lru_cache.js start line: 67 end line: 69 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 218 unit: function fail() file: src/bloodhound/transport.js start line: 84 end line: 86 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 219 unit: cancel: function() file: src/bloodhound/transport.js start line: 124 end line: 126 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 220 unit: _prefix: function() file: src/bloodhound/persistent_storage.js start line: 44 end line: 46 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 221 unit: _ttlKey: function() file: src/bloodhound/persistent_storage.js start line: 48 end line: 50 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 222 unit: function now() file: src/bloodhound/persistent_storage.js start line: 123 end line: 125 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 223 unit: function encode() file: src/bloodhound/persistent_storage.js start line: 127 end line: 130 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 224 unit: function decode() file: src/bloodhound/persistent_storage.js start line: 132 end line: 134 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 225 unit: function idenityPrepare() file: src/bloodhound/options_parser.js start line: 147 end line: 149 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 226 unit: function debounce() file: src/bloodhound/options_parser.js start line: 165 end line: 167 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 227 unit: function throttle() file: src/bloodhound/options_parser.js start line: 169 end line: 171 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 228 unit: function onSuccess() file: src/bloodhound/options_parser.js start line: 182 end line: 186 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 229 unit: function onError() file: src/bloodhound/options_parser.js start line: 188 end line: 192 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 230 unit: function withAsync() file: src/bloodhound/bloodhound.js start line: 61 end line: 63 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 231 unit: function withoutAsync() file: src/bloodhound/bloodhound.js start line: 65 end line: 67 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 232 unit: initialize: function initialize() file: src/bloodhound/bloodhound.js start line: 117 end line: 119 size: 3 LOC McCabe index: 3 number of parameters: 1 id: 233 unit: all: function all() file: src/bloodhound/bloodhound.js start line: 166 end line: 168 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 234 unit: ttAdapter: function ttAdapter() file: src/bloodhound/bloodhound.js start line: 186 end line: 188 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 235 unit: _settings: function settings() file: src/bloodhound/prefetch.js start line: 37 end line: 39 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 236 unit: noop: function() file: src/common/utils.js start line: 162 end line: 162 size: 1 LOC McCabe index: 1 number of parameters: 0