(tests) Remove jQuery stubs in search_suggestion.js.

(imported from commit a9b9bb86ed6aee96443cbfef5171f93dc9a0fa51)
This commit is contained in:
Steve Howell 2013-07-30 17:23:34 -04:00
parent 3726b86a94
commit b291037f5d
1 changed files with 0 additions and 10 deletions

View File

@ -11,16 +11,6 @@ function set_up_dependencies() {
var _ = global._ = require('third/underscore/underscore.js');
global.Handlebars = require('handlebars');
// We stub out most of jQuery, which is irrelevant to most of these tests.
var $ = function () {};
global.$ = $;
$.each = function (it, cb) {
var cb2 = function (a, b) { return cb(b,a); };
return _.each(it, cb2);
};
$.map = _.map;
$.grep = _.filter;
var actual_narrow = require('js/narrow.js');
var search = require('js/search_suggestion.js');