Durian.js is a lightweight Javascript framework that allows for custom HTML tag to create interactive components for large applications! Easy to learn, light and fun to develop with!
This is the development for the encapsulation of the constant script currently inside the source code (EXPOSURE_SCRIPT that exposes the DOM functions implemented in #21) This PR would just encapsulate and separate the script in another file for orginization purposes. Therefore, more scripts for attributes and even state in the furture (Potentially) can be added without cluter to the codebase.
Note: The script still needs to be imported to component.js inorder to it to work properly, a TODO notice has already been added as of commit number a2b3ecf
I think this is quite irrelevant since the uuid variable could not be encapsulated for the code and generated in the class. Therefore, this pull request would be closed now.
This is the development for the encapsulation of the constant script currently inside the source code (
EXPOSURE_SCRIPT
that exposes the DOM functions implemented in #21) This PR would just encapsulate and separate the script in another file for orginization purposes. Therefore, more scripts for attributes and even state in the furture (Potentially) can be added without cluter to the codebase.Note: The script still needs to be imported to
component.js
inorder to it to work properly, aTODO
notice has already been added as of commit number a2b3ecfThanks