Closed raphinesse closed 4 years ago
This is actually a bug, Atrament
should be exposed when you include the lib in a script tag. Thanks for flagging this up!
You're welcome
Hi @raphinesse - just FYI, in Atrament 1.0.0 the Atrament
class is the default export, I got rid of the factory function.
It should be clarified that
Atrament
will never be exposed automatically. From the docs, I expected it to be in global scope, when includingatrament.min.js
.Do not get me wrong though, I think it is good that there is only one global. This is just about clear documentation.