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
I would like to advice a single Object instance (that is perhaps created by a Function via new).
So if I have
class Blender
doIt:->
this works fine
YADC(Blender).before(...)
but this doesn't
myBlender = new Blender()
YADC(myBlender).before(...)
I would like to advice ONLY the object at hand, and not the prototype. Is this too much to ask ?
My main pain is that my instance is extended after creation, with methods not known at the creator Function / class definition.
The text was updated successfully, but these errors were encountered:
I would like to advice a single
Object
instance (that is perhaps created by aFunction
vianew
).So if I have
this works fine
but this doesn't
I would like to advice ONLY the object at hand, and not the prototype. Is this too much to ask ?
My main pain is that my instance is extended after creation, with methods not known at the creator Function / class definition.
The text was updated successfully, but these errors were encountered: