Forum Discussion
JordanBeatty1
8 years agoQrew Captain
So a library can load as AMD, CommonJS, UMD, ES6, modules or globals, and may need to be configured to work in Quickbase. Which is why even though I now have
when I run
(function(){ $.getScript("https://cdnjs.cloudflare.com/ajax/libs/Snowstorm/20131208/snowstorm.js";, function() { snowStorm.snowColor = '#99ccff'; snowStorm.followMouse = true; }); })();
when I run
console.dir(snowStorm)I get the same error since it was not loaded properly and need to configure its path so it loads properly into Quickbase. Sorry, if I still don't understand!
_anomDiebolt_
7 years agoQrew Elite
I never saw your comment before but you have a typo (semicolon) in your code. Should be:
(function(){
$.getScript("https://cdnjs.cloudflare.com/ajax/libs/Snowstorm/20131208/snowstorm.js", function() {
snowStorm.snowColor = '#99ccff';
snowStorm.followMouse = true;
});
})();
(function(){
$.getScript("https://cdnjs.cloudflare.com/ajax/libs/Snowstorm/20131208/snowstorm.js", function() {
snowStorm.snowColor = '#99ccff';
snowStorm.followMouse = true;
});
})();