JSLint screamed at me today:
Missing space between 'CMyInterface' and '='.
var CMyInterface=Class.create({
line 3 character 21
I am using prototype, so the
Class
comes from that. But still – is it REQUIRED that i place a whitespace before and after the = to produce valid code?
No, the space is not required and your code is valid. But for readability, you should include it (them, to be exact) – and JSLinst complains about that.