Quote:
|
Originally Posted by jake13jake
It would also be neat if you had an option of doing:
serverside function onCreated() {}
clientside function onCreated() {}
rather than
function onCreated() {}
//#CLIENTSIDE
function onCreated() {}
|
I disagree with this. This would lead to extremely badly structured code, and I would assume it would grant people more problems then they already have.
Having the //#CLIENTSIDE directive is a nice way to split your code between serverside and clientside, there is really no need to have it all jumbled together.