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
phone-format.js was the original version and in order to not break the api this version has the functions globally available, i.e. formatInternational(..).
@nadeemkhedr - phone-format-global.js has the functions available on the window object via PhoneFormat.[function]. It is the vanilla version (as described above) that has the functions globally, which was the initial implementation.
@robertbaker - I see that in the phone-format-exports.js and phone-format-amd.js versions it is not wrapping the exported functions with something like phoneformat, is that what you mean by "Wrap this lib in a module"?
phoneFormat().formatLocal(...);
The text was updated successfully, but these errors were encountered: