KaTeX/utils.js
Emily Eisenberg a831e94a51 Remove dependency on underscore
Summary:
Remove all uses of underscore. For the things we actually need, make a
"util" file and put them in there.

Test Plan:
Make sure the test still succeed, and that the main page still
works.

Reviewers: alpert

Reviewed By: alpert

Differential Revision: http://phabricator.khanacademy.org/D3043
2013-07-13 20:42:19 -07:00

8 lines
117 B
JavaScript

function contains(list, elem) {
return list.indexOf(elem) !== -1;
}
module.exports = {
contains: contains
}