Permalink
Browse files

Adresses 980 and 1164 and some other miscelaneous stuff

  • Loading branch information...
1 parent 272250a commit 28de8f759b0c077cfac92b0fcc914afd0c18b983 @dpp dpp committed Jan 27, 2012
@@ -695,16 +695,6 @@ trait BindHelpers {
*/
def stripHead(in: NodeSeq): NodeSeq = {
("head" #> ((ns: NodeSeq) => ns.asInstanceOf[Elem].child))(in)
- import scala.xml.transform._
-
- val rewrite = new RewriteRule {
- override def transform(in: Node): Seq[Node] = in match {
- case e: Elem if e.label == "head" && (e.namespace eq null) => this.transform(e.child)
- case x => x
- }
- }
-
- (new RuleTransformer(rewrite)).transform(in)
}
/**
@@ -713,21 +703,6 @@ trait BindHelpers {
*/
def replaceIdNode(in: NodeSeq, id: String, replacement: NodeSeq): NodeSeq = {
(("#"+id) #> replacement)(in)
- /*
- import scala.xml.transform._
-
- val cmp = Some(Text(id))
-
- val rewrite = new RewriteRule {
- override def transform(in: Node): Seq[Node] = in match {
- case e: Elem if e.attribute("id") == cmp => replacement
-
- case x => x
- }
- }
-
- (new RuleTransformer(rewrite)).transform(in)
- */
}
/**
View
@@ -1,7 +1,9 @@
-#Project properties
-project.organization=net.liftweb
+#
+#Fri Jan 27 12:14:38 PST 2012
project.name=lift-framework
-sbt.version=0.7.7
+project.organization=net.liftweb
project.version=2.5-SNAPSHOT
-build.scala.versions=2.8.2 2.8.1 2.8.0 2.9.1 2.9.0-1 2.9.0
+sbt.version=0.7.7
+def.scala.version=2.7.7
+build.scala.versions=2.9.1 2.8.2 2.8.1 2.8.0 2.9.0-1 2.9.0
project.initialize=false
Oops, something went wrong.

0 comments on commit 28de8f7

Please sign in to comment.