Every time I use:
var bla = require('./directory/bla.js')
All global functions starts to be "unresolved function or method".
Any ideas?
Every time I use:
var bla = require('./directory/bla.js')
All global functions starts to be "unresolved function or method".
Any ideas?
The simplest way is to add require
as a global at the top of your JavaScript file.
/*global
setBorderlessEvents
*/