Update Lodash to v4.6.1

This commit is contained in:
Glavin Wiechert 2016-03-03 19:49:20 -04:00
parent 73919f7902
commit d637317826
3 changed files with 4 additions and 4 deletions

View File

@ -90,7 +90,7 @@
"handlebars": "^4.0.2",
"js-beautify": "^1.6.2",
"jscs": "^2.1.1",
"lodash": "3.10.1",
"lodash": "4.6.1",
"loophole": "^1.0.0",
"node-dir": "^0.1.8",
"node-uuid": "^1.4.3",

View File

@ -308,7 +308,7 @@ module.exports = class Beautifiers extends EventEmitter
_.filter( @beautifiers, (beautifier) ->
# logger.verbose('beautifier',beautifier, language)
_.contains(beautifier.languages, language)
_.includes(beautifier.languages, language)
)
getBeautifierForLanguage : (language) ->

View File

@ -91,6 +91,6 @@ module.exports = class Languages
_.union(
_.filter(@languages, (language) -> _.isEqual(language.name, name))
_.filter(@languages, (language) -> _.isEqual(language.namespace, namespace))
_.filter(@languages, (language) -> _.contains(language.grammars, grammar))
_.filter(@languages, (language) -> _.contains(language.extensions, extension))
_.filter(@languages, (language) -> _.includes(language.grammars, grammar))
_.filter(@languages, (language) -> _.includes(language.extensions, extension))
)