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
Instead of the very short and not expressive function names, it would be better to have more self explanatory function names, like 'childNode' and 'text' and so on
The text was updated successfully, but these errors were encountered:
I understand. That is indeed confusing maybe. So the only way is to have methods like createChildNode, createTextNode and so on AND the shorthand aliases in my opinion.
What do you think?
No, because they can be confusing. Why not write get or set whenever you want retrieve or modify something?
The highly brief names like c() and t() have been copied from Strophe.js to provide a familiar terrain in the builder pattern. Yet, contrary to node-xmpp, they base on the real DOM and use its methods. That's not available here.
Instead of the very short and not expressive function names, it would be better to have more self explanatory function names, like 'childNode' and 'text' and so on
The text was updated successfully, but these errors were encountered: