Permalink
Browse files

Make some minor comment improvements to SHtml.scala and Menu.scala.

  • Loading branch information...
1 parent 9281228 commit fd7ce12f73962fe215702a9a5de862212543720a @dcbriccetti dcbriccetti committed Nov 17, 2012
@@ -242,24 +242,24 @@ object Menu extends DispatchSnippet {
* automatically set the title for your page based on your SiteMap:</p>
*
* <pre>
- * ...
+ *
* &lt;head&gt;
* &lt;title&gt;&lt;lift:Menu.title /&gt;&lt;/title&gt;
* &lt;/head&gt;
- * ...
+ *
* </pre>
* <p>HTML5 does not support tags inside the &lt;title&gt; tag,
* so you must do:
* </p>
*
* <pre>
- * * &lt;head&gt;
+ * &lt;head&gt;
* &lt;title class=&quot;lift:Menu.title&quote;&gt;The page named %*% is being displayed&lt;/title&gt;
* &lt;/head&gt;
* </pre>
* <p>
- * And Lift will substitute the title at the %*% marker, alternative, Lift
- * will append the Menu.title to the contents of the &lt;title&gt; tag.
+ * And Lift will substitute the title at the %*% marker if the marker exists, otherwise
+ * append the title to the contents of the &lt;title&gt; tag.
* </p>
*/
def title(text: NodeSeq): NodeSeq = {
@@ -610,7 +610,7 @@ trait SHtml {
}
/**
- * This function does not really submit a JSON request to server instead json is a function
+ * This function does not really submit a JSON request to the server. Instead, json is a function
* that allows you to build a more complex JsCmd based on the JsExp <i>JE.JsRaw("this.value")</i>.
* This function is called by the overloaded version of jsonText.
*
@@ -630,7 +630,7 @@ trait SHtml {
/**
- * This function does not really submit a JSON request to server instead json is a function
+ * This function does not really submit a JSON request to the server. Instead, json is a function
* that allows you to build a more complex JsCmd based on the JsExp <i>JE.JsRaw("this.value")</i>.
* This function is called by the overloaded version of jsonText.
*
@@ -690,7 +690,7 @@ trait SHtml {
}
/**
- * This function does not really submit a JSON request to server instead json is a function
+ * This function does not really submit a JSON request to the server. Instead, json is a function
* that allows you to build a more complex JsCmd based on the JsExp <i>JE.JsRaw("this.value")</i>.
* This function is called by the overloaded version of jsonTextarea.
*
@@ -1181,7 +1181,7 @@ trait SHtml {
}
/**
- * execute the function when the form is submitted.
+ * Execute the function when the form is submitted.
* This method returns a function that can be applied to
* form fields (input, button, textarea, select) and the
* function is executed when the form containing the field is submitted.
@@ -1190,7 +1190,7 @@ trait SHtml {
onSubmitImpl(func: AFuncHolder)
/**
- * execute the String function when the form is submitted.
+ * Execute the String function when the form is submitted.
* This method returns a function that can be applied to
* form fields (input, button, textarea, select) and the
* function is executed when the form containing the field is submitted.
@@ -1200,7 +1200,7 @@ trait SHtml {
}
/**
- * execute the List[String] function when the form is submitted.
+ * Execute the List[String] function when the form is submitted.
* This method returns a function that can be applied to
* form fields (input, button, textarea, select) and the
* function is executed when the form containing the field is submitted.

0 comments on commit fd7ce12

Please sign in to comment.