dwieeb
dwieeb

Reputation: 218

github.com/jquery/jquery as git submodule

I'd like to use a local copy of jQuery 1.8.3 for my github project. I'd like to do it the right way, which would be to add it as a submodule:

git submodule add git://github.com/jquery/jquery.git js/lib/jquery

Done! The problem is the jQuery repository does not have prebuilt versions of jQuery, and other javascript libraries that I'm using do. How should I proceed?

Upvotes: 2

Views: 1186

Answers (2)

Intrepidd
Intrepidd

Reputation: 20878

Doing it the right way does not mean adding a submodule.

You could perfectly use a lightweight .js file or simply use a CDN that will be better for your server.

Upvotes: 0

Sean Powell
Sean Powell

Reputation: 1437

You could build it yourself locally. There are some instructions on the GitHub project page.

Upvotes: 1

Related Questions