Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added the ability to dynamically load line elements (fixes #4) by passing an array of objects into the
lineData
property of theoptions
object into the constructor ofTermynal
class.I've tried to maintain as much consistency with the existing codebase as possible, including an example and updated README. One step that would still need to be completed is updating the minification of
termynal.min.js
; unsure of what tool is being used for minification, I wanted to leave that up to the creator/maintainer to keep it consistent.Also, adding a
package.json
and pushing this tonpm
would be super. I'm a huge fan of this project and it'd be great to make it more accessible to developers.