Open hewiefreeman opened 6 years ago
I've slightly modified the script for people like me who want to use this library as a way dynamically insert Lorem Ipsum into their JavaScript/web app's interface/mock.
The existing code already does this, what's the difference?
I got the idea. Maybe we can make an option to make it dom-free and add a title mode instead of creating a whole new file to maintain.
@f Sounds like a better idea. I just made it like this for more readability and a smaller file for people who want to just use it to generate text in their own scripts. And the title option serves a nice purpose for most mock-ups.
I've slightly modified the script for people like me who want to use this library as a way dynamically insert Lorem Ipsum into their JavaScript/web app's interface/mock.
I also added a new "TITLE" type to generate titles (for my own and other's needs) :)
This is meant to be contributed as a separate file for the purposes mentioned above. I'd also be happy to write up a read-me for this!