You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by ul...@apache.org on 2011/02/27 22:15:32 UTC

svn commit: r1075148 - /tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry.js

Author: uli
Date: Sun Feb 27 21:15:26 2011
New Revision: 1075148

URL: http://svn.apache.org/viewvc?rev=1075148&view=rev
Log:
prepare javascript for automatic JSDoc generation: convert special chars to html entities

Modified:
    tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry.js

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry.js?rev=1075148&r1=1075147&r2=1075148&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry.js (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry.js Sun Feb 27 21:15:26 2011
@@ -91,7 +91,7 @@ var Tapestry = {
 	CONSOLE_DURATION : 10,
 
 	/**
-	 * CSS Class added to a <form> element that directs Tapestry to prevent
+	 * CSS Class added to a &lt;form&gt; element that directs Tapestry to prevent
 	 * normal (HTTP POST) form submission, in favor of Ajax (XmlHttpRequest)
 	 * submission.
 	 */
@@ -449,7 +449,7 @@ var Tapestry = {
 
 	/**
 	 * Obtains the Tapestry.ZoneManager object associated with a triggering
-	 * element (an <a> or <form>) configured to update a zone. Writes errors to
+	 * element (an &lt;a&gt; or &lt;form&gt;) configured to update a zone. Writes errors to
 	 * the AjaxConsole if the zone and ZoneManager can not be resolved.
 	 * 
 	 * @param element
@@ -465,7 +465,7 @@ var Tapestry = {
 
 	/**
 	 * Obtains the Tapestry.ZoneManager object associated with a zone element
-	 * (usually a <div>). Writes errors to the Ajax console if the element or
+	 * (usually a &lt;div&gt;). Writes errors to the Ajax console if the element or
 	 * manager can not be resolved.
 	 * 
 	 * @param zoneElement
@@ -980,7 +980,7 @@ Tapestry.Initializer = {
 	 * indicated Zone.
 	 * 
 	 * @param spec.linkId
-	 *            id or instance of <form> or <a> element
+	 *            id or instance of &lt;form&gt; or &lt;a&gt; element
 	 * @param spec.zoneId
 	 *            id of the element to update when link clicked or form
 	 *            submitted
@@ -997,7 +997,7 @@ Tapestry.Initializer = {
 	 * information to reconnect with the server-side Form.
 	 * 
 	 * @param spec.selectId
-	 *            id or instance of <select>
+	 *            id or instance of &lt;select&gt;
 	 * @param spec.zoneId
 	 *            id of element to update when select is changed
 	 * @param spec.url
@@ -1817,7 +1817,7 @@ Tapestry.ElementEffect = {
 };
 
 /**
- * Manages a &lt;div&lt; (or other element) for dynamic updates.
+ * Manages a &lt;div&gt; (or other element) for dynamic updates.
  * 
  */
 Tapestry.ZoneManager = Class.create( {
@@ -2071,7 +2071,7 @@ Tapestry.ScriptManager = {
 	},
 
 	/**
-	 * Checks to see if the given collection (of <script> or <style> elements)
+	 * Checks to see if the given collection (of &lt;script&gt; or &lt;style&gt; elements)
 	 * contains the given asset URL.
 	 * 
 	 * @param collection



Re: svn commit: r1075148 - /tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry.js

Posted by Ulrich Stärk <ul...@spielviel.de>.
Yeah. It requires some manual tuning though, I hope I'll have it finished by the end of the week.

Uli

On 28.02.2011 22:04, Howard Lewis Ship wrote:
> Auto JS doc is going to be very sweet!
> 
> On Sun, Feb 27, 2011 at 1:15 PM,  <ul...@apache.org> wrote:
>> Author: uli
>> Date: Sun Feb 27 21:15:26 2011
>> New Revision: 1075148
>>
>> URL: http://svn.apache.org/viewvc?rev=1075148&view=rev
>> Log:
>> prepare javascript for automatic JSDoc generation: convert special chars to html entities
>>
>> Modified:
>>    tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry.js
>>
>> Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry.js
>> URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry.js?rev=1075148&r1=1075147&r2=1075148&view=diff
>> ==============================================================================
>> --- tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry.js (original)
>> +++ tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry.js Sun Feb 27 21:15:26 2011
>> @@ -91,7 +91,7 @@ var Tapestry = {
>>        CONSOLE_DURATION : 10,
>>
>>        /**
>> -        * CSS Class added to a <form> element that directs Tapestry to prevent
>> +        * CSS Class added to a &lt;form&gt; element that directs Tapestry to prevent
>>         * normal (HTTP POST) form submission, in favor of Ajax (XmlHttpRequest)
>>         * submission.
>>         */
>> @@ -449,7 +449,7 @@ var Tapestry = {
>>
>>        /**
>>         * Obtains the Tapestry.ZoneManager object associated with a triggering
>> -        * element (an <a> or <form>) configured to update a zone. Writes errors to
>> +        * element (an &lt;a&gt; or &lt;form&gt;) configured to update a zone. Writes errors to
>>         * the AjaxConsole if the zone and ZoneManager can not be resolved.
>>         *
>>         * @param element
>> @@ -465,7 +465,7 @@ var Tapestry = {
>>
>>        /**
>>         * Obtains the Tapestry.ZoneManager object associated with a zone element
>> -        * (usually a <div>). Writes errors to the Ajax console if the element or
>> +        * (usually a &lt;div&gt;). Writes errors to the Ajax console if the element or
>>         * manager can not be resolved.
>>         *
>>         * @param zoneElement
>> @@ -980,7 +980,7 @@ Tapestry.Initializer = {
>>         * indicated Zone.
>>         *
>>         * @param spec.linkId
>> -        *            id or instance of <form> or <a> element
>> +        *            id or instance of &lt;form&gt; or &lt;a&gt; element
>>         * @param spec.zoneId
>>         *            id of the element to update when link clicked or form
>>         *            submitted
>> @@ -997,7 +997,7 @@ Tapestry.Initializer = {
>>         * information to reconnect with the server-side Form.
>>         *
>>         * @param spec.selectId
>> -        *            id or instance of <select>
>> +        *            id or instance of &lt;select&gt;
>>         * @param spec.zoneId
>>         *            id of element to update when select is changed
>>         * @param spec.url
>> @@ -1817,7 +1817,7 @@ Tapestry.ElementEffect = {
>>  };
>>
>>  /**
>> - * Manages a &lt;div&lt; (or other element) for dynamic updates.
>> + * Manages a &lt;div&gt; (or other element) for dynamic updates.
>>  *
>>  */
>>  Tapestry.ZoneManager = Class.create( {
>> @@ -2071,7 +2071,7 @@ Tapestry.ScriptManager = {
>>        },
>>
>>        /**
>> -        * Checks to see if the given collection (of <script> or <style> elements)
>> +        * Checks to see if the given collection (of &lt;script&gt; or &lt;style&gt; elements)
>>         * contains the given asset URL.
>>         *
>>         * @param collection
>>
>>
>>
> 
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Re: svn commit: r1075148 - /tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry.js

Posted by Howard Lewis Ship <hl...@gmail.com>.
Auto JS doc is going to be very sweet!

On Sun, Feb 27, 2011 at 1:15 PM,  <ul...@apache.org> wrote:
> Author: uli
> Date: Sun Feb 27 21:15:26 2011
> New Revision: 1075148
>
> URL: http://svn.apache.org/viewvc?rev=1075148&view=rev
> Log:
> prepare javascript for automatic JSDoc generation: convert special chars to html entities
>
> Modified:
>    tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry.js
>
> Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry.js
> URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry.js?rev=1075148&r1=1075147&r2=1075148&view=diff
> ==============================================================================
> --- tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry.js (original)
> +++ tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry.js Sun Feb 27 21:15:26 2011
> @@ -91,7 +91,7 @@ var Tapestry = {
>        CONSOLE_DURATION : 10,
>
>        /**
> -        * CSS Class added to a <form> element that directs Tapestry to prevent
> +        * CSS Class added to a &lt;form&gt; element that directs Tapestry to prevent
>         * normal (HTTP POST) form submission, in favor of Ajax (XmlHttpRequest)
>         * submission.
>         */
> @@ -449,7 +449,7 @@ var Tapestry = {
>
>        /**
>         * Obtains the Tapestry.ZoneManager object associated with a triggering
> -        * element (an <a> or <form>) configured to update a zone. Writes errors to
> +        * element (an &lt;a&gt; or &lt;form&gt;) configured to update a zone. Writes errors to
>         * the AjaxConsole if the zone and ZoneManager can not be resolved.
>         *
>         * @param element
> @@ -465,7 +465,7 @@ var Tapestry = {
>
>        /**
>         * Obtains the Tapestry.ZoneManager object associated with a zone element
> -        * (usually a <div>). Writes errors to the Ajax console if the element or
> +        * (usually a &lt;div&gt;). Writes errors to the Ajax console if the element or
>         * manager can not be resolved.
>         *
>         * @param zoneElement
> @@ -980,7 +980,7 @@ Tapestry.Initializer = {
>         * indicated Zone.
>         *
>         * @param spec.linkId
> -        *            id or instance of <form> or <a> element
> +        *            id or instance of &lt;form&gt; or &lt;a&gt; element
>         * @param spec.zoneId
>         *            id of the element to update when link clicked or form
>         *            submitted
> @@ -997,7 +997,7 @@ Tapestry.Initializer = {
>         * information to reconnect with the server-side Form.
>         *
>         * @param spec.selectId
> -        *            id or instance of <select>
> +        *            id or instance of &lt;select&gt;
>         * @param spec.zoneId
>         *            id of element to update when select is changed
>         * @param spec.url
> @@ -1817,7 +1817,7 @@ Tapestry.ElementEffect = {
>  };
>
>  /**
> - * Manages a &lt;div&lt; (or other element) for dynamic updates.
> + * Manages a &lt;div&gt; (or other element) for dynamic updates.
>  *
>  */
>  Tapestry.ZoneManager = Class.create( {
> @@ -2071,7 +2071,7 @@ Tapestry.ScriptManager = {
>        },
>
>        /**
> -        * Checks to see if the given collection (of <script> or <style> elements)
> +        * Checks to see if the given collection (of &lt;script&gt; or &lt;style&gt; elements)
>         * contains the given asset URL.
>         *
>         * @param collection
>
>
>



-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org