MCPcopy
hub / github.com/ccampbell/rainbow / _needsGeneric

Function _needsGeneric

gulpfile.js:86–96  ·  view source on GitHub ↗
(languages)

Source from the content-addressed store, hash-verified

84});
85
86function _needsGeneric(languages) {
87 var needsGeneric = ['php', 'python', 'javascript', 'go', 'c', 'r', 'coffeescript', 'haskell'];
88
89 for (var i = 0; i < languages.length; i++) {
90 if (needsGeneric.indexOf(languages[i]) !== -1) {
91 return true;
92 }
93 }
94
95 return false;
96}
97
98function _getLanguageList() {
99 if (argv.languages.toLowerCase() === 'all') {

Callers 1

_getLanguageListFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected