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 propose that since the current version takes URL as the first parameter, it's probably always true that arguments.length >= 1 and that arguments[0] is a string, therefore if arguments.length === 1 and arguments[0] is an object, they're using the proposed new style. I believe this should be backwards compatible.
Schedule:
Introduce the new option (5.3)
Deprecate the old style (5.4)
Remove the old style (6.0)
Thoughts?
The text was updated successfully, but these errors were encountered:
Let's refactor
.create
to take an options object.I propose that since the current version takes URL as the first parameter, it's probably always true that arguments.length >= 1 and that arguments[0] is a string, therefore if arguments.length === 1 and arguments[0] is an object, they're using the proposed new style. I believe this should be backwards compatible.
Schedule:
Thoughts?
The text was updated successfully, but these errors were encountered: