Skip to content

Instantly share code, notes, and snippets.

@cimfalab
Created August 11, 2017 10:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cimfalab/4953d220feb17299e59b5537f859561b to your computer and use it in GitHub Desktop.
Save cimfalab/4953d220feb17299e59b5537f859561b to your computer and use it in GitHub Desktop.
main.js
UrlCodeHints.prototype._getUrlList = function (query) {
...
if (this.cachedHints) {
// use cached hints
unfiltered = this.cachedHints.unfiltered;
} else {
directory = FileSystem.getDirectoryForPath(targetDir);
self = this;
if (self.cachedHints && self.cachedHints.deferred) {
self.cachedHints.deferred.reject();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment