Author: lou
Date: 2007-09-21 12:11:51 -0700 (Fri, 21 Sep 2007)
New Revision: 6550
Modified:
openlaszlo/trunk/docs/src/developers/tutorials/art_assets.dbk
openlaszlo/trunk/docs/src/developers/tutorials/calculator.dbk
openlaszlo/trunk/docs/src/developers/tutorials/data_app.dbk
openlaszlo/trunk/docs/src/developers/tutorials/laszlo_basics.dbk
openlaszlo/trunk/docs/src/developers/tutorials/scripting.dbk
openlaszlo/trunk/docs/src/developers/tutorials/text.dbk
openlaszlo/trunk/docs/src/developers/tutorials/views.dbk
openlaszlo/trunk/docs/src/developers/tutorials/window.dbk
Log:
Change 20070920-lou-pl9JDK by [EMAIL PROTECTED] on 2007-09-20 07:30:05 AST
in /home/lou/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: spell check tutorials
New Features:
Bugs Fixed: LPP-4761 spell check tutorial portion of the dguide
Technical Reviewer: Benjamin Shine
QA Reviewer: (pending)
Doc Reviewer: John Sundman
Documentation:
Release Notes:
Details:
Tests:
Modified: openlaszlo/trunk/docs/src/developers/tutorials/art_assets.dbk
===================================================================
--- openlaszlo/trunk/docs/src/developers/tutorials/art_assets.dbk
2007-09-21 18:24:07 UTC (rev 6549)
+++ openlaszlo/trunk/docs/src/developers/tutorials/art_assets.dbk
2007-09-21 19:11:51 UTC (rev 6550)
@@ -29,7 +29,7 @@
<!--unknown tag: view-->
s are the fundamental visible entities, and resources
are externally generated media to be incorporated in applications. Resources
are made available by being
-attatched to views. Thus in OpenLaszlo applications you don't "insert an
image" into a view;
+attached to views. Thus in OpenLaszlo applications you don't "insert an image"
into a view;
instead you insert a view whose <emphasis>resource</emphasis> is an image.
</para>
Modified: openlaszlo/trunk/docs/src/developers/tutorials/calculator.dbk
===================================================================
--- openlaszlo/trunk/docs/src/developers/tutorials/calculator.dbk
2007-09-21 18:24:07 UTC (rev 6549)
+++ openlaszlo/trunk/docs/src/developers/tutorials/calculator.dbk
2007-09-21 19:11:51 UTC (rev 6550)
@@ -1290,7 +1290,7 @@
<para>There is still a lot of code here, a lot of which is repetitive. We can
condense it by using classes. For an introduction to classes in LZX, see <xref
linkend="classes-tutorial"/></para>
<para/></section></section></section><section
id="calculator.perspective"><title>Using Classes to Simplify</title>
-<para>Let's take a look at how we can use classes to simplyfy our code. We'll
start by making a class for calculator buttons.</para>
+<para>Let's take a look at how we can use classes to simplify our code. We'll
start by making a class for calculator buttons.</para>
<para role="todo"><remark role="todo"><emphasis role="para-label">TODO:
</emphasis>
need another intro sentence
</remark></para>
Modified: openlaszlo/trunk/docs/src/developers/tutorials/data_app.dbk
===================================================================
--- openlaszlo/trunk/docs/src/developers/tutorials/data_app.dbk 2007-09-21
18:24:07 UTC (rev 6549)
+++ openlaszlo/trunk/docs/src/developers/tutorials/data_app.dbk 2007-09-21
19:11:51 UTC (rev 6550)
@@ -176,7 +176,7 @@
<para>XPath also supports a one-based index notation to limit the number of
nodes retrieved by an expression. You can experiment with the following XPath
expressions for the datapath attribute of the list view (comment 1).</para>
-<informaltable><tgroup cols="2"><thead><row><entry>XPath
expresssion</entry><entry>Result</entry></row></thead><tbody><row><entry><literal>dset:/phonebook/contact</literal></entry><entry><para>All
the contact
nodes</para></entry></row><row><entry><literal>dset:/phonebook/contact[1]</literal></entry><entry><para>First
contact node
only</para></entry></row><row><entry><literal>dset:/phonebook/contact[2-3]</literal></entry><entry><para>Contact
nodes 2 to
3</para></entry></row><row><entry><literal>dset:/phonebook/contact[2-]</literal></entry><entry><para>Contact
nodes 2 and
onwards</para></entry></row><row><entry><literal>dset:/phonebook/contact[-2]</literal></entry><entry><para>Contact
nodes up to and including
2</para></entry></row></tbody></tgroup></informaltable>
+<informaltable><tgroup cols="2"><thead><row><entry>XPath
expression</entry><entry>Result</entry></row></thead><tbody><row><entry><literal>dset:/phonebook/contact</literal></entry><entry><para>All
the contact
nodes</para></entry></row><row><entry><literal>dset:/phonebook/contact[1]</literal></entry><entry><para>First
contact node
only</para></entry></row><row><entry><literal>dset:/phonebook/contact[2-3]</literal></entry><entry><para>Contact
nodes 2 to
3</para></entry></row><row><entry><literal>dset:/phonebook/contact[2-]</literal></entry><entry><para>Contact
nodes 2 and
onwards</para></entry></row><row><entry><literal>dset:/phonebook/contact[-2]</literal></entry><entry><para>Contact
nodes up to and including
2</para></entry></row></tbody></tgroup></informaltable>
<para/></section><section><title>Working with external XML documents</title>
Modified: openlaszlo/trunk/docs/src/developers/tutorials/laszlo_basics.dbk
===================================================================
--- openlaszlo/trunk/docs/src/developers/tutorials/laszlo_basics.dbk
2007-09-21 18:24:07 UTC (rev 6549)
+++ openlaszlo/trunk/docs/src/developers/tutorials/laszlo_basics.dbk
2007-09-21 19:11:51 UTC (rev 6550)
@@ -4,7 +4,7 @@
<title>OpenLaszlo Basics</title>
<para role="todo"><remark role="todo"><emphasis role="para-label">TODO:
</emphasis>
-explain how tutorials relate to laszlo in ten minutes
+explain how tutorials relate to Laszlo in ten minutes
</remark></para>
<para role="todo"><remark role="todo"><emphasis role="para-label">TODO:
</emphasis>
Rename this tutorial
Modified: openlaszlo/trunk/docs/src/developers/tutorials/scripting.dbk
===================================================================
--- openlaszlo/trunk/docs/src/developers/tutorials/scripting.dbk
2007-09-21 18:24:07 UTC (rev 6549)
+++ openlaszlo/trunk/docs/src/developers/tutorials/scripting.dbk
2007-09-21 19:11:51 UTC (rev 6550)
@@ -86,9 +86,9 @@
</script>
</canvas>
</programlisting><?lzx-edit programs/scripting-tutorial-$2.lzx></example?>
-<para/><section><title>Javascript gotchas</title>
+<para/><section><title>JavaScript gotchas</title>
<para>
-If you've never worked with Javascript before, you may be surprised by some
subtle features of the language.
+If you've never worked with JavaScript before, you may be surprised by some
subtle features of the language.
For example, consider this slight expansion of the preceding program:</para>
<example role="live-example">
@@ -139,8 +139,8 @@
the line immediately above it, right? What happened is that we concatenated
numbers to strings
earlier on (<literal>4 + " plus " + 3</literal>), and that operation converted
the numbers to strings.</para>
<para>
-OpenLaszlo documentation is not intended to provide a complete reference for
Javascript. Later chapters do explain some
-advanced topics in scripting, but we recommend that you have a Javascript
reference handy while writing LZX.
+OpenLaszlo documentation is not intended to provide a complete reference for
JavaScript. Later chapters do explain some
+advanced topics in scripting, but we recommend that you have a JavaScript
reference handy while writing LZX.
</para>
<para/></section><section><title>XML characters in script</title>
@@ -201,7 +201,7 @@
<textobject><textdata
fileref="programs/scripting-tutorial-$7.lzx"/></textobject>
</programlisting>
</example>
-<?example role="live-example"><title>Javascript
functions</title><programlisting
role="lzx-embednew"><filename>scripting-tutorial-$7.lzx</filename><parameter/><code>
+<?example role="live-example"><title>JavaScript
functions</title><programlisting
role="lzx-embednew"><filename>scripting-tutorial-$7.lzx</filename><parameter/><code>
<canvas height="200" width="500" debug="true">
<script>
<![CDATA[
@@ -291,7 +291,7 @@
<programlisting> this.parent</programlisting>
-<para>is a reference to an object. In Javascript, the scope is generally
global unless you say otherwise. That means
+<para>is a reference to an object. In JavaScript, the scope is generally
global unless you say otherwise. That means
that any class or instance methods or variables must be preceded by the
keyword <literal>this</literal>. As
for the 'parent' part: Let's start by saying that the lzx viewsystem always
assigns each view a variable 'parent'
which points to that view's hierarchical parent. View hierarchies are
discussed in detail in <xref linkend="views"/>
@@ -782,7 +782,7 @@
<para/></section><section><title>Using attributes to reduce complexity</title>
<para>Continuing from the same example as above, let's look at ways to reduce
the number of arguments being passed.
-Here we put the functionalilty into the button itself:</para>
+Here we put the functionality into the button itself:</para>
<example role="live-example">
<title>More on attributes</title>
Modified: openlaszlo/trunk/docs/src/developers/tutorials/text.dbk
===================================================================
--- openlaszlo/trunk/docs/src/developers/tutorials/text.dbk 2007-09-21
18:24:07 UTC (rev 6549)
+++ openlaszlo/trunk/docs/src/developers/tutorials/text.dbk 2007-09-21
19:11:51 UTC (rev 6550)
@@ -7,7 +7,7 @@
<xref linkend="text"/> and <xref linkend="fonts"/>
explain more advanced topics.</para>
<para>
-Note that the behavior of LZX applications differs between applications
compiled for the Flash Player (SWF format) and those compiled for DHTML.
Certain APIs are available in only one or the other runtime. We'll call
attention to these subjectst in the sections that follow.
+Note that the behavior of LZX applications differs between applications
compiled for the Flash Player (SWF format) and those compiled for DHTML.
Certain APIs are available in only one or the other runtime. We'll call
attention to these subjects in the sections that follow.
</para>
<para/></section><section id="text-tutorial.basics"><title>The <text>
tag</title>
@@ -335,7 +335,7 @@
<para>The font TTF files can be located in the current directory or another
one and referenced relatively (<literal>src="../fonts/..."</literal>).
Otherwise they are included in the LPS webapp directory of the installation
under WEB-INF/lps/fonts. timonnsr is a font that comes packaged with the
OpenLaszlo Server in this location.</para>
-<para>A truetype file is required for each style of font (e.g. italic, bold,
regular), which is how fonts are actually packaged. So the following code will
<emphasis role="b">not</emphasis> work:</para>
+<para>A TrueType file is required for each style of font (e.g. italic, bold,
regular), which is how fonts are actually packaged. So the following code will
<emphasis role="b">not</emphasis> work:</para>
<informalexample role="live-example"><programlisting>
Modified: openlaszlo/trunk/docs/src/developers/tutorials/views.dbk
===================================================================
--- openlaszlo/trunk/docs/src/developers/tutorials/views.dbk 2007-09-21
18:24:07 UTC (rev 6549)
+++ openlaszlo/trunk/docs/src/developers/tutorials/views.dbk 2007-09-21
19:11:51 UTC (rev 6550)
@@ -429,7 +429,7 @@
<para>Now the view stretches across, but if you look at the toolbars you'll
notice that they are a little bit taller than the buttons they contain. To make
our buttons look the same, we could set an absolute height, but let's make it
dependent on one of the buttons:</para>
<example role="live-example">
- <title>Constraining veiw to child's height</title>
+ <title>Constraining view to child's height</title>
<programlistingco>
<areaspec>
<area units="other" otherunits="/canvas[1]/window[1]/view[1]/@height"/>
Modified: openlaszlo/trunk/docs/src/developers/tutorials/window.dbk
===================================================================
--- openlaszlo/trunk/docs/src/developers/tutorials/window.dbk 2007-09-21
18:24:07 UTC (rev 6549)
+++ openlaszlo/trunk/docs/src/developers/tutorials/window.dbk 2007-09-21
19:11:51 UTC (rev 6550)
@@ -240,7 +240,7 @@
<para>Since the center view is variable width, we needed to allow it to
stretch its resource, by adding the <literal>stretches="width"</literal>
attribute to the view. We won't see any results from this right now, but when
we move on to resizing the window, the effect will become apparent.</para>
-<para>We also had to set its width to be dependant on the widths of its
neigboring two views, and that of its parent. There is no need to specify the
widths of <varname>topLeft</varname> or <varname>topRight</varname>, as they
shall take on the widths of their resources.</para>
+<para>We also had to set its width to be dependant on the widths of its
neighboring two views, and that of its parent. There is no need to specify the
widths of <varname>topLeft</varname> or <varname>topRight</varname>, as they
shall take on the widths of their resources.</para>
<example role="live-example">
<title>Stretchable widths</title>
_______________________________________________
Laszlo-checkins mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins