Open MaxWinterstein opened 9 years ago
If you add the line
/* global module */
to the top of the file, if should clean up that error message.
If you add the line
/* global module */ to the top of the file, if should clean up that error message.
awesome! Thanks! :) Where am i supposed to find something like that?
Cloudpebble uses jshint as a linter, so see its documentation at http://jshint.com/docs/
good to know, now my code has no more warnings. but woudn't it be nice to implement that for everybody?
I outsourced some stuff into seperate .js files. To get access from the main app.js i need to use module.export (node.js style).
It is working fine, but the syntax checker marks it as error: