INNER CODE UNIT · JavaScript

defaultCallback

Strider-CD/strider · apps/strider/dist-lib/index.js:35

    function defaultCallback(err) {
        if (err) {
            throw err;
        }
    }
    if (typeof Loader !== 'function') {
        throw new Error('Your version of strider-extension-loader is out of date');
    }
    const loader = new Loader([path.join(__dirname, '../client/styles')], true);
    appInstance.loader = loader;
    common.loader = loader;
    //
    // ### Strider Context Object
    //
    // Context object is passed to each extension.  It carries various config
    // settings, as well as handles to enable functions to register things.
    // Context can also be accessed as a singleton within Strider as
    // common.context.

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…