0.11.1-v2 • Published 9 years ago

typeahead-detached-0.11 v0.11.1-v2

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

NPM module that allows you to add an instance of Typeahead 0.11.x to an instance of jQuery.

Install Package:

npm install --save typeahead-detached-0.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 typeahead = require('typeahead-detached-0.11');

typeahead.addToJQuery($);

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