_.contains -> _.includes

This commit is contained in:
spalger
2016-05-19 08:43:19 -07:00
parent ae615a0f2d
commit b2929de9d5
3 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,7 @@ api._namespaces = <%= stringify(namespaces) %>;<%
_.each(actions, function (action) {
var namespace = action.location.split('.').shift();
if (_.contains(namespaces, namespace)) {
if (_.includes(namespaces, namespace)) {
_.pull(namespaces, namespace);
%>