I'm trying to integrate slickgrid into a meteor application. I've tried the existing atmosphere package for SlickGrid. I've also tried building my own smart-package.
Either way, I can't get the Slick
namespace to show up on on the client side. I suspect that it has something to do with the way that the slickgrid code handles namespacing. They do it as follows in their slick.core.js file:
(function ($) {
// register namespace
$.extend(true, window, {
"Slick": {
"Event": Event,
"EventData": EventData,
"EventHandler": EventHandler,
"Range": Range,
"NonDataRow": NonDataItem,
"Group": Group,
"GroupTotals": GroupTotals,
"EditorLock": EditorLock,
/***
* A global singleton editor lock.
* @class GlobalEditorLock
* @static
* @constructor
*/
"GlobalEditorLock": new EditorLock()
}
});
I've tried some other code snippets with that style of namespacing and it didn't seem to work. What is the right approach here? I could edit the SlickGrid files to use a different namespacing approach, but that seems rather hackish and I'd like to avoid doing it if possible.