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.14.5.a vendor/jsl-0.3.0/tests/conf/lambda_assign_requires_semicolon.js
distil-0.14.4 vendor/jsl-0.3.0/tests/conf/lambda_assign_requires_semicolon.js
distil-0.14.3 vendor/jsl-0.3.0/tests/conf/lambda_assign_requires_semicolon.js
distil-0.14.2 vendor/jsl-0.3.0/tests/conf/lambda_assign_requires_semicolon.js
distil-0.14.2.a vendor/jsl-0.3.0/tests/conf/lambda_assign_requires_semicolon.js
distil-0.14.1 vendor/jsl-0.3.0/tests/conf/lambda_assign_requires_semicolon.js
distil-0.14.1.a vendor/jsl-0.3.0/tests/conf/lambda_assign_requires_semicolon.js
distil-0.14.0 vendor/jsl-0.3.0/tests/conf/lambda_assign_requires_semicolon.js
distil-0.14.0.i vendor/jsl-0.3.0/tests/conf/lambda_assign_requires_semicolon.js
distil-0.14.0.h vendor/jsl-0.3.0/tests/conf/lambda_assign_requires_semicolon.js
distil-0.14.0.g vendor/jsl-0.3.0/tests/conf/lambda_assign_requires_semicolon.js
distil-0.14.0.d vendor/jsl-0.3.0/tests/conf/lambda_assign_requires_semicolon.js
distil-0.14.0.c vendor/jsl-0.3.0/tests/conf/lambda_assign_requires_semicolon.js
distil-0.14.0.b vendor/jsl-0.3.0/tests/conf/lambda_assign_requires_semicolon.js
distil-0.13.6 vendor/jsl-0.3.0/tests/conf/lambda_assign_requires_semicolon.js
distil-0.13.5 vendor/jsl-0.3.0/tests/conf/lambda_assign_requires_semicolon.js
distil-0.13.4 vendor/jsl-0.3.0/tests/conf/lambda_assign_requires_semicolon.js
distil-0.13.3 vendor/jsl-0.3.0/tests/conf/lambda_assign_requires_semicolon.js
distil-0.13.2 vendor/jsl-0.3.0/tests/conf/lambda_assign_requires_semicolon.js
distil-0.13.1 vendor/jsl-0.3.0/tests/conf/lambda_assign_requires_semicolon.js