mirror of
https://github.com/vale981/event-pubsub
synced 2025-03-04 09:01:38 -05:00
node v5 does not support spread operator
This commit is contained in:
parent
bd3c11f85f
commit
9ff288d93d
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
let EventPubSub = require('./es5');
|
||||
if(process.version[1]>4){
|
||||
if(process.version[1]>5){
|
||||
EventPubSub = require('./es6');
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue