Forum Discussion
_anomDiebolt_
7 years agoQrew Elite
I just noticed there was a small typo in the requirejs code (errant semicolon) I posted. Here is a version of that code that clears the typo and loads d3 and kendo-ui-core using requirejs and then logs the d3 and kendo objects along with all the requirejs loaded modules:
require.config({
paths: {
"d3": "https://cdnjs.cloudflare.com/ajax/libs/d3/4.9.1/d3",
"kendo": "https://cdnjs.cloudflare.com/ajax/libs/kendo-ui-core/2014.1.416/js/kendo.core.min"
}
});
require(['d3', 'kendo'], function(d3, kendo) {
console.dir(d3);
console.dir(kendo);
console.dir(requirejs.s.contexts._.config );
});
_anomDiebolt_
7 years agoQrew Elite
Don't even attempt to place your operative JavaScript into the onload attribute. Doing so will only cause you endless problems with all the escaping needed.
Convince yourself the script I provided works by pasting it directly into the console. Do your development from the console. Once you get that working implement the IOL technique and place your working code into the module.js file. This is the fastest and more reliable way to develop script for QuickBase.
Convince yourself the script I provided works by pasting it directly into the console. Do your development from the console. Once you get that working implement the IOL technique and place your working code into the module.js file. This is the fastest and more reliable way to develop script for QuickBase.