Sha256: acd9941cdac5f5f76a9a4d79b958898eded5f143ee1334b628b6516e0a31a9f9

Contents?: true

Size: 403 Bytes

Versions: 43

Compression:

Stored size: 403 Bytes

Contents

/*conf:-lambda_assign_requires_semicolon*/


/* Test with a simple variable. */
var x = function() {
    return {};
}
var y; /*warning:missing_semicolon*/


function Foo()
{
    this.bar = 10;

    /* Test an assignment to a member. */
    this.setBar = function(bar) {
        this.bar = bar;
    }
}

/* Test an assignment to a prototype. */
Foo.prototype.getBar = function() {
    return this.bar;
}

Version data entries

43 entries across 43 versions & 1 rubygems

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