karma4u101 / lift-jquery-module Goto Github PK
View Code? Open in Web Editor NEWA JQuery Lift Module
A JQuery Lift Module
Replace scalaVersion := "2.9.1"
on crossScalaVersions in ThisBuild := Seq("2.9.2", "2.9.1-1", "2.9.1", "2.9.0-1", "2.9.0")
like in lift.
Hi Peter,
I really like how simple it is to use this module.
Could you add to the README that on your template you would need:
and that you need
"net.liftmodules" %% "lift-jquery-module" % (liftVersion+"-0.0.2-SNAPSHOT")
in your sbt build file?
Thanks!
Lift has a build system for lift modules that also takes care of timely repository pushes, this module is repaired for usage by the system but needs t be hooked up to it.
Hi,
jQuery 1.11.1 was released, as well as 1.10.4 and 1.9.2 (and possible other versions). BTW is there any reason to have several jQuery versions from one branch (except compile time compatibility with previous module versions)?
Adding jquery-migrate.js to allowedPaths fails in test with
[info] With JQueryModule.InitParam.JQuery set to JQueryModule.JQueryMigrate121 the ResourceServer should
[error] ! allow jquery-migrate.js
[error] scala.MatchError: List(jquery-migrate.js) (of class scala.collection.immutable.$colon$colon) (ResourceServer.scala:27)
Hi,
The readme says that I can use:
JQueryModule.init()
in boots.
But if I only use that option, the url http://127.0.0.1:8080/classpath/jquery.js
does not display the jquery file
I had to use:
JQueryModule.InitParam.JQuery=JQueryModule.JQuery172
JQueryModule.init()
To have it working.
Also, the current version on the README is old, I'm using
"net.liftmodules" %% "lift-jquery-module" % (liftVersion+"-1.0-SNAPSHOT")
Thanks!
Add information about current 2.10 additions.
For upgrade from 2.2.4 in conjunction with jquery migrate 3.0+
https://code.jquery.com/jquery/
This will make the transaction to the module even less painful for those who have used the Lift included jquery as all the script paths will be the same.
The only problem with this is that if user do not take care of removing the lift jquery init (as long as it exsists) it will probably be the one used (and then with maybe with a different version)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.