You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/04/17 16:39:00 UTC
[jira] [Commented] (CB-8872) jshint 2.7.0 breaks on current code
[ https://issues.apache.org/jira/browse/CB-8872?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14499920#comment-14499920 ]
ASF subversion and git services commented on CB-8872:
-----------------------------------------------------
Commit c42525b6c0210d5edee0544c1cddd69c9d858834 in cordova-blackberry's branch refs/heads/master from [~jsoref]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-blackberry.git;h=c42525b ]
CB-8872 Add parens to disambiguate ! / instanceof
> jshint 2.7.0 breaks on current code
> -----------------------------------
>
> Key: CB-8872
> URL: https://issues.apache.org/jira/browse/CB-8872
> Project: Apache Cordova
> Issue Type: Bug
> Components: BlackBerry
> Affects Versions: Master
> Reporter: Jenny Gee
> Priority: Minor
>
> {quote}
> /var/jenkins/workspace/cordova-blackberry$ node_modules/grunt-cli/bin/grunt
> Running "jshint:all" (jshint) task
> framework/lib/utils.js
> 53 | if (!arg instanceof Array) {
> ^ Confusing use of '!'.
> 58 | if (!arg instanceof Date) {
> ^ Confusing use of '!'.
> >> 2 errors in 90 files
> Warning: Task "jshint:all" failed. Use --force to continue.
> {quote}
> This doesn't break on jshint@2.6.0
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org