You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Redeclare an exists object enhance the old one
like this
MyObject:{ ..... }
//and again
MyObject:{ ..... }
They will mix it, execute the MyObject will execute both of them
While we need it?
If we have sperite Ghost for example and it is already declared and i want to add some behavors to it, and can enhance it.
another example, HTML
html:{
div{
p{
print("Hello World");
}
}
}
html here is already declared object but we need to add objects inside it to print its tags.
The text was updated successfully, but these errors were encountered:
Redeclare an exists object enhance the old one
like this
They will mix it, execute the MyObject will execute both of them
While we need it?
If we have sperite Ghost for example and it is already declared and i want to add some behavors to it, and can enhance it.
another example, HTML
html:{ div{ p{ print("Hello World"); } } }
html here is already declared object but we need to add objects inside it to print its tags.
The text was updated successfully, but these errors were encountered: