Forum Discussion
_anomDiebolt_
8 years agoQrew Elite
Github is a repository for source code not a CDN (Content Delivery Network) so you shouldn't reference source code from Github.
Instead, load the library from a CDN:
https://cdnjs.cloudflare.com/ajax/libs/Snowstorm/20131208/snowstorm-min.js
or place the library in a code page and reference it as follows:
https://SUBDOMAIN.quickbase.com/db/APPDBID?a=pageedit&pagename=MYSCRIPT.JS
Note that many libraries loaded from a CDN have been constructed so that they can load as AMD, CommonJS, UMD, ES6, modules or as Globals. If you are injected the library into a QUickBase authored page the is a good chance the library will detect the presence of requirejs (the loader used by QuickBase) and expect to be loaded as an AMD module. If this is your scenario ask another question if you encounter this problem.
Instead, load the library from a CDN:
https://cdnjs.cloudflare.com/ajax/libs/Snowstorm/20131208/snowstorm-min.js
or place the library in a code page and reference it as follows:
https://SUBDOMAIN.quickbase.com/db/APPDBID?a=pageedit&pagename=MYSCRIPT.JS
Note that many libraries loaded from a CDN have been constructed so that they can load as AMD, CommonJS, UMD, ES6, modules or as Globals. If you are injected the library into a QUickBase authored page the is a good chance the library will detect the presence of requirejs (the loader used by QuickBase) and expect to be loaded as an AMD module. If this is your scenario ask another question if you encounter this problem.