This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
This defines a Global object to serve loading external templates. | |
It handles multiple "Templates" (Or "Views") loading, | |
by operating on an array of JSON objects of type {path: "path to file", tag: "script's tag to attach to dom"} | |
This way- | |
you can load multiple templates, each with it's own tag so they can be referenced seperatly, | |
templates can be written in a much "cleaner" manner - as they are not wrapped by a "script" tag, IDE's will recognize the html. |