Skip to content

Instantly share code, notes, and snippets.

@heymichaelp
Forked from moudy/jquery-require.js
Created September 5, 2013 12:26
Show Gist options
  • Save heymichaelp/6449435 to your computer and use it in GitHub Desktop.
Save heymichaelp/6449435 to your computer and use it in GitHub Desktop.
// want to uses this module like:
// `var $ = require('jquery');`
//
// so it incudes all plugins
var jquery = require('actual-jquery');
inject('plugin.jquery');
module.exports = jquery;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment