Permalink
Browse files

* Fixed #1287 - Deprecated the JQuery13Artifacts and JQuery14Artifact…

…s case objects
  • Loading branch information...
1 parent 3036ba2 commit 7962c84179be75307d936bec22e365157d9429af @fmpwizard fmpwizard committed Jul 1, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 web/webkit/src/main/scala/net/liftweb/http/js/jquery/JQueryArtifacts.scala
@@ -133,14 +133,15 @@ trait JQueryArtifacts extends JSArtifacts {
info.failFunc.map("error : " + _).toList mkString ("{ ", ", ", " }")
}
+@deprecated("Either include your own jQuery or use https://github.com/karma4u101/lift-jquery-module")
case object JQuery13Artifacts extends JQueryArtifacts {
override def pathRewriter: PartialFunction[List[String], List[String]] = {
case "jquery.js" :: Nil if Props.devMode => List("jquery-1.3.2.js")
case "jquery.js" :: Nil => List("jquery-1.3.2-min.js")
}
}
-
+@deprecated("Either include your own jQuery or use https://github.com/karma4u101/lift-jquery-module")
case object JQuery14Artifacts extends JQueryArtifacts {
override def pathRewriter: PartialFunction[List[String], List[String]] = {
case "jquery.js" :: Nil if Props.devMode => List("jquery-1.4.4.js")

0 comments on commit 7962c84

Please sign in to comment.