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
It should be fairly trivial to change this into something more generic - something which uses can-reflect'sisPlainObject() or possibly isConstructorLike(). My vote is for the latter.
Furthermore, there's code in here which defines a List property on the constructor if one is not yet defined. This code can go away whenever this issue is resolved: canjs/can-connect#446
The text was updated successfully, but these errors were encountered:
In order to support two decorator syntaxes, we need to determine whether or not a DefineMap constructor or plain object is being passed:
Right now, we check whether or not the decorator arguments pass this test:
It should be fairly trivial to change this into something more generic - something which uses
can-reflect
'sisPlainObject()
or possiblyisConstructorLike()
. My vote is for the latter.Furthermore, there's code in here which defines a
List
property on the constructor if one is not yet defined. This code can go away whenever this issue is resolved:canjs/can-connect#446
The text was updated successfully, but these errors were encountered: