Skip to content

Commit

Permalink
Remove grunt.util._
Browse files Browse the repository at this point in the history
Because it is deprecated
  • Loading branch information
shinnn committed Feb 7, 2014
1 parent 42a3e8f commit 158498e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/jsdoc-plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ module.exports = function jsDocTask(grunt) {
// Compute JSDoc flags from options
for(var optionName in options){
var option = options[optionName];
if(!grunt.util._.contains(cliFlags, optionName) || !option){
if(cliFlags.indexOf(optionName) === -1 || !option){
delete options[optionName];
}
}
Expand Down

0 comments on commit 158498e

Please sign in to comment.