Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- On Client:
- now.foo = function() {
- console.log("foo");
- };
- I cann call this function from Server with
- user.now.foo();
- But if I redeclare the foo-function on client:
- now.foo = function() {
- console.log("bar");
- };
- I cannot call it anymore from the Server. It sais;
- TypeError: Property 'foo' of object #<Object> is not a function
- Is there a way to override a function in the now-namespace?
Add Comment
Please, Sign In to add comment