jqueryui-detached

Module for creating jQuery UI instances, detached from the global namespace (window).

Usage no npm install needed!

<script type="module">
  import jqueryuiDetached from 'https://cdn.skypack.dev/jqueryui-detached';
</script>

README

NPM module that allows you to add an instance of jQuery UI 1.11.x to an instance of jQuery.

Install Package:

npm install --save jqueryui-detached-1.11

Usage

The idea is that this module would be used in conjunction with jquery-detached.

E.g.:

var $ = require('jquery-detached-2.1.4').newJQuery();            
var jqueryui = require('jqueryui-detached-1.11');

jqueryui.addToJQuery($);

This pattern can be extended to allow you to create a "private" jQuery instance having a controlled set of jQuery plugins/extensions.