Sha256: 5e084709013c652a16531219f0612f5baabb2fa0ec6faeb713ffbede91dbfc9b

Contents?: true

Size: 366 Bytes

Versions: 4

Compression:

Stored size: 366 Bytes

Contents

keep_properties: {
    options = {
        properties: false
    };
    input: {
        a["foo"] = "bar";
    }
    expect: {
        a["foo"] = "bar";
    }
}

dot_properties: {
    options = {
        properties: true
    };
    input: {
        a["foo"] = "bar";
        a["if"] = "if";
    }
    expect: {
        a.foo = "bar";
        a["if"] = "if";
    }
}

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
sprockets-browserify-0.3.0 node_modules/browserify/node_modules/umd/node_modules/ruglify/node_modules/uglify-js/test/compress/properties.js
sprockets-browserify-0.2.0 node_modules/browserify/node_modules/umd/node_modules/uglify-js/test/compress/properties.js
ruby-wisp-source-0.8.0 vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/test/compress/properties.js
ruby-wisp-source-0.7.0 vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/test/compress/properties.js