Skip to content

Conversation

@montmanu
Copy link
Contributor

No description provided.

@XhmikosR
Copy link
Member

XhmikosR commented Mar 8, 2017

@montmanu: can you rebase?

@jsf-clabot
Copy link

jsf-clabot commented Mar 12, 2017

CLA assistant check
All committers have signed the CLA.

tasks/less.js Outdated
}
}

if (_.isBoolean(options.sourceMap) && options.sourceMap) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typeof options.sourceMap === 'boolean'

tasks/less.js Outdated
}
}

if (_.isFunction(options.sourceMapURL)) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't typeof options.sourceMapURL === 'function' enough here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably. just figured since lodash had already been imported, would use that utility. would you prefer typeof ?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was just trying to decouple of lodash and just keep stuff we only need.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, cool. will update with typeof here and in the other PR.

@XhmikosR XhmikosR merged commit c81d284 into gruntjs:master Mar 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants