mirror of
https://kevinblog.sytes.net/Code/Jibo-Revival-Group/RoboCommander.git
synced 2026-06-16 21:56:24 +00:00
Initial commit
This commit is contained in:
17
node_modules/acorn-es7-plugin/acorn-es7-plugin.js
generated
vendored
Normal file
17
node_modules/acorn-es7-plugin/acorn-es7-plugin.js
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user