Sha256: d027e85854628b05c7cde51aff3cf413f73095480b2afebf6418a9159bc1f110

Contents?: true

Size: 698 Bytes

Versions: 43

Compression:

Stored size: 698 Bytes

Contents

/*jsl:option explicit*/
function control_comments() {
    /* "legal" - can do anything */
    /*jsl:ignore*/
    var a;
    if (a);
       var b = a = b+++a;
       var a = b;
    /*jsl:end*/
    /*@ignore@*/
    var a;
    if (a);
       var b = a = b+++a;
       var a = b;
    /*@end@*/

    /* legal - case doesn't matter */
    /*Jsl:IGNORE*/
    asdf = asdf;
    /*JSL:End*/

    /* illegal - not ending anything */
    /*jsl:end*/ /*warning:mismatch_ctrl_comments*/

    /* illegal - can't start twice */
    /*jsl:ignore*/
    /*jsl:ignore*/ /*warning:mismatch_ctrl_comments*/
    /*jsl:end*/

    /* illegal - don't forget to end */
    /*jsl:ignore*/
}
/*warning:mismatch_ctrl_comments*/

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
distil-0.13.0 vendor/jsl-0.3.0/tests/control_comments/control_comments.js
distil-0.12.6 vendor/jsl-0.3.0/tests/control_comments/control_comments.js
distil-0.12.4 vendor/jsl-0.3.0/tests/control_comments/control_comments.js
distil-0.12.3 vendor/jsl-0.3.0/tests/control_comments/control_comments.js
distil-0.12.2 vendor/jsl-0.3.0/tests/control_comments/control_comments.js
distil-0.12.1 vendor/jsl-0.3.0/tests/control_comments/control_comments.js
distil-0.12.0 vendor/jsl-0.3.0/tests/control_comments/control_comments.js
distil-0.11.8 vendor/jsl-0.3.0/tests/control_comments/control_comments.js
distil-0.11.6 vendor/jsl-0.3.0/tests/control_comments/control_comments.js
distil-0.11.5 vendor/jsl-0.3.0/tests/control_comments/control_comments.js
distil-0.11.4 vendor/jsl-0.3.0/tests/control_comments/control_comments.js
distil-0.11.3 vendor/jsl-0.3.0/tests/control_comments/control_comments.js
distil-0.11.1 vendor/jsl-0.3.0/tests/control_comments/control_comments.js
distil-0.11.0 vendor/jsl-0.3.0/tests/control_comments/control_comments.js
distil-0.10.4 vendor/jsl-0.3.0/tests/control_comments/control_comments.js
distil-0.10.3 vendor/jsl-0.3.0/tests/control_comments/control_comments.js
distil-0.10.1 vendor/jsl-0.3.0/tests/control_comments/control_comments.js
distil-0.10.0 vendor/jsl-0.3.0/tests/control_comments/control_comments.js
distil-0.8.4 vendor/jsl-0.3.0/tests/control_comments/control_comments.js
distil-0.8.2 vendor/jsl-0.3.0/tests/control_comments/control_comments.js