Sha256: 02a571cc24e2866e4658dc670f31f3b12ef5925a55f6eb99a261e3b994fffde0

Contents?: true

Size: 460 Bytes

Versions: 4

Compression:

Stored size: 460 Bytes

Contents

module.exports = function(acorn) {
    switch (parseInt(acorn.version)) {
    case 2:
    case 3:
        acorn.plugins.asyncawait = require('./acorn-v3') ;
        break ;
    case 4:
        acorn.plugins.asyncawait = require('./acorn-v4') ;
        break ;
    case 5:
        acorn.plugins.asyncawait = require('./acorn-v4') ;
        break ;
    default:
        throw new Error("acorn-es7-plugin requires Acorn v2, 3, 4 or 5") ;
    }
    return acorn
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
jass-0.9.5 vendor/node_modules/acorn-es7-plugin/acorn-es7-plugin.js
jass-0.9.4 vendor/node_modules/acorn-es7-plugin/acorn-es7-plugin.js
jass-0.9.3 vendor/node_modules/acorn-es7-plugin/acorn-es7-plugin.js
jass-0.9.1 vendor/node_modules/acorn-es7-plugin/acorn-es7-plugin.js