This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
commit 72c83e362b4a10622b9b1f53fd58fe59ce4d157b Author: Otavio Rodolfo Piske <[email protected]> AuthorDate: Wed Feb 21 09:33:29 2024 +0100 CAMEL-20410: documentation fixes for camel-javascript - Fixed samples - Fixed grammar and typos - Fixed punctuation - Added and/or fixed links - Converted to use tabs --- components/camel-javascript/src/main/docs/js-language.adoc | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/components/camel-javascript/src/main/docs/js-language.adoc b/components/camel-javascript/src/main/docs/js-language.adoc index f3f0ce02cef..f9c63bd830b 100644 --- a/components/camel-javascript/src/main/docs/js-language.adoc +++ b/components/camel-javascript/src/main/docs/js-language.adoc @@ -16,7 +16,7 @@ used as an xref:manual::expression.adoc[Expression] or xref:manual::predicate.ad in Camel routes. For example, you can use JavaScript in a xref:manual::predicate.adoc[Predicate] -with the xref:eips:choice-eip.adoc[Content Based Router] EIP. +with the xref:eips:choice-eip.adoc[Content-Based Router] EIP. == JavaScript Options @@ -46,12 +46,11 @@ include::partial$language-options.adoc[] == Dependencies -To use JavaScript in your camel routes you need to add the dependency on -*camel-javascript* which implements the JavaScript language (JavaScript with GraalVM). +To use JavaScript in your Camel routes, you need to add the dependency on +*camel-javascript*, which implements the JavaScript language (JavaScript with GraalVM). -If you use maven you could just add the following to your pom.xml, -substituting the version number for the latest & greatest release (see -the download page for the latest versions). +If you use Maven, you could add the following to your pom.xml, +substituting the version number for the latest & greatest release. [source,xml] -------------------------------------
