[OpenLayers-Users] closure-util and ES6

Peter Devoy peter at 3xe.co.uk
Wed Dec 23 10:23:26 PST 2015


I am trying to use a generator function in my code e.g.:

Promise.coroutine(function* () { //...

But closure-util serve doesn't like the asterisk, reporting
"SyntaxError: Unexpected token".

Please can anyone tell me how I might go about about getting this working?

Kind regards


Peter Devoy


More information about the Users mailing list