Open halton opened 8 years ago
Either use a newer version of node or generate-class.js should inject a 'use strict'
directive.
Thanks for hint. My node version is v4.2.6, i'll try to update to v6 to give a try. Anyway, v4 is now LTS and recommended for most users (refer to nodejs.org), do you think this project will abondon v4 support?
BTW, upgrading to node 6.x does fix this issue. I upload PR #21 for fixing this issue for node 4.x anyway.