A Play2 module to provide the jQuery assets.
Note that module runs against Play 2.1-RC1.
- Provides
*.js
and*.min.js
files within thepublic/javascripts
sub-directory of the classpath.
Assuming you maintain the default GET /assets/*file controllers.Assets.at(path="/public", file)
route from the skeleton, this means that the jQuery javascript files will be available at /assets/*
.
Add the following to the appDependencies section of your Build.sbt file:
"com.aidanns" %% "play2-jquery" % "1.9.0"
Add the following to the main section of your Build.sbt file:
resolvers += Resolver.url("com.aidanns Github Repo", url("https://raw.github.com/aidanns/play2-modules/master/releases"))(Resolver.ivyStylePatterns)
module
directory contains the Play! submodule.samples
directory contains a (very sparse) example of using the submodule.
This requires a working Python installation.
cd module/lib/jquery
git pull
- Build jQuery as per their instructions.
cd ../../
script/update.py
git add .
git commit -m "Updated to jQuery version x.x.x"
- Submit a pull request on Github.