Skip to content

Commit

Permalink
Merge pull request #1 from The-Island/update
Browse files Browse the repository at this point in the history
Update
  • Loading branch information
sanderpick authored Mar 4, 2017
2 parents e6c77c1 + 8f6839c commit 7634f91
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
2 changes: 0 additions & 2 deletions lib/search.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Functionality for indexing content for search.

var _ = require('underscore');
_.mixin(require('underscore.string'));
var redis = require('redis');
var stemmer = require('porter-stemmer').stemmer;
// Diacritics are signs such as accents. We'd like to remove them for
Expand Down Expand Up @@ -169,4 +168,3 @@ Search.prototype.index = function (group, doc, keys, options, cb) {
Search.prototype.del = function (group, cb) {
this.client.del(group, cb);
};

16 changes: 6 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,18 @@
"private": true,
"author": "The Island (git://github.com/The-Island)",
"name": "island-search",
"version": "0.0.1",
"version": "0.0.2",
"repository": {
"type": "git",
"url": "git://github.com/Islandio/island-search.git"
},
"main": "lib/search",
"dependencies": {
"async": "^1.4.1",
"diacritics": "^1.2.1",
"async": "~2.1.4",
"diacritics": "^1.3.0",
"porter-stemmer": "^0.9.1",
"redis": "^0.12.1",
"step": "0.0.5",
"underscore": "^1.4.4",
"underscore.string": "~2.3.1"
},
"engines": {
"node": "~0.10.26"
"redis": "^2.6.5",
"step": "1.0.0",
"underscore": "~1.8.3"
}
}

0 comments on commit 7634f91

Please sign in to comment.