hardik / requirejs-jquery

Sample project to load jquery and requirejs via script tags and making sure jquery is only loaded once.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

requirejs-jquery

Sample project that addresses the following problem:

  1. Include jQuery in the html head
  2. Include requirejs in the html head.
  3. require jQuery-ui using require js.
  4. Make sure jQuery is not fetched twice.

How to get started:

  1. git clone git@github.com:hardik/requirejs-jquery.git
  2. Run bower install in the root directory.
  3. Run the project by serving index.html with the server of your choice.

About

Sample project to load jquery and requirejs via script tags and making sure jquery is only loaded once.

License:MIT License


Languages

Language:ApacheConf 82.0%Language:CSS 11.6%Language:HTML 5.8%Language:JavaScript 0.6%