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
_______________________________________________
Users mailing list
us...@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to