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
{{ message }}
This repository was archived by the owner on Dec 15, 2024. It is now read-only.
Today if I want to send just some of the parameters using the parametrized method signature, not the object, I am tempted to set the parameters I don't want to 'null' or 'undefined'.
mpns.sendFlipTile(pushUri,null,5,'amazing');
This will result in an error because null tests as typeof == 'object' and our current logic will assume I'm using the options object method signature. I suspect lots of folks will be bitten by this and get confused.
Today if I want to send just some of the parameters using the parametrized method signature, not the object, I am tempted to set the parameters I don't want to 'null' or 'undefined'.
This will result in an error because null tests as typeof == 'object' and our current logic will assume I'm using the options object method signature. I suspect lots of folks will be bitten by this and get confused.