Socket
Book a DemoInstallSign in
Socket

bootstrap-detached

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bootstrap-detached

Module for creating Twitter Bootstrap instances, detached from the global namespace (window).

latest
Source
npmnpm
Version
3.3.5-v1
Version published
Maintainers
1
Created
Source

NPM module that allows you to add an instance of Twitter Bootstrap 3.3.x to an instance of jQuery.

Install Package:

npm install --save bootstrap-detached-3.3

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 bootstrap = require('bootstrap-detached-3.3');

bootstrap.addToJQuery($);

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

FAQs

Package last updated on 09 Nov 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts