Skip to content
This repository was archived by the owner on Dec 31, 2021. It is now read-only.
This repository was archived by the owner on Dec 31, 2021. It is now read-only.

Update nautilus config paths #8

@lusac

Description

@lusac

Would be great if I could update update nautilus config paths after nautilus inicialization.

Example:

// Initial
nautilus.config({
paths: {
'jquery': 'libs/jquery.js',
'waterfall': 'http://cdnjs.cloudflare.com/ajax/libs/waterfall.js/1.0.2/waterfall.min.js'
}
});

// Add new path
nautilus.config.paths.extend({ 'newSpacename': 'my/new/path.js' })

// Then
nautilus(['newSpacename'], function() {
console.log('Hello!');
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions