Fix typos
Fix various typos found by topy. Change-Id: I634373c4a787e6a3c82386bf24084a609fb841ae
This commit is contained in:
8
src/main/javascript/shCore.js
vendored
8
src/main/javascript/shCore.js
vendored
@@ -24,7 +24,7 @@ var sh = {
|
|||||||
* Pads line numbers. Possible values are:
|
* Pads line numbers. Possible values are:
|
||||||
*
|
*
|
||||||
* false - don't pad line numbers.
|
* false - don't pad line numbers.
|
||||||
* true - automaticaly pad numbers with minimum required number of leading zeroes.
|
* true - automatically pad numbers with minimum required number of leading zeroes.
|
||||||
* [int] - length up to which pad line numbers.
|
* [int] - length up to which pad line numbers.
|
||||||
*/
|
*/
|
||||||
'pad-line-numbers' : false,
|
'pad-line-numbers' : false,
|
||||||
@@ -829,7 +829,7 @@ function fixInputString(str)
|
|||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Removes all white space at the begining and end of a string.
|
* Removes all white space at the beginning and end of a string.
|
||||||
*
|
*
|
||||||
* @param {String} str String to trim.
|
* @param {String} str String to trim.
|
||||||
* @return {String} Returns string without leading and following white space characters.
|
* @return {String} Returns string without leading and following white space characters.
|
||||||
@@ -870,7 +870,7 @@ function unindent(str)
|
|||||||
min = Math.min(matches[0].length, min);
|
min = Math.min(matches[0].length, min);
|
||||||
}
|
}
|
||||||
|
|
||||||
// trim minimum common number of white space from the begining of every line
|
// trim minimum common number of white space from the beginning of every line
|
||||||
if (min > 0)
|
if (min > 0)
|
||||||
for (var i = 0; i < lines.length; i++)
|
for (var i = 0; i < lines.length; i++)
|
||||||
lines[i] = lines[i].substr(min);
|
lines[i] = lines[i].substr(min);
|
||||||
@@ -1639,7 +1639,7 @@ sh.Highlighter.prototype = {
|
|||||||
* Initializes the highlighter/brush.
|
* Initializes the highlighter/brush.
|
||||||
*
|
*
|
||||||
* Constructor isn't used for initialization so that nothing executes during necessary
|
* Constructor isn't used for initialization so that nothing executes during necessary
|
||||||
* `new SyntaxHighlighter.Highlighter()` call when setting up brush inheritence.
|
* `new SyntaxHighlighter.Highlighter()` call when setting up brush inheritance.
|
||||||
*
|
*
|
||||||
* @param {Hash} params Highlighter parameters.
|
* @param {Hash} params Highlighter parameters.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -569,7 +569,7 @@
|
|||||||
<xsl:apply-templates select="wadl:response/wadl:representation/wadl:doc//xsdxt:code"/>
|
<xsl:apply-templates select="wadl:response/wadl:representation/wadl:doc//xsdxt:code"/>
|
||||||
</xsl:otherwise>
|
</xsl:otherwise>
|
||||||
</xsl:choose>
|
</xsl:choose>
|
||||||
<!-- we allow no response text and we dont have a 200 level response with a representation -->
|
<!-- we allow no response text and we don't have a 200 level response with a representation -->
|
||||||
<xsl:choose>
|
<xsl:choose>
|
||||||
<xsl:when
|
<xsl:when
|
||||||
test="not(wadl:request) and not(wadl:response[starts-with(normalize-space(@status),'2')]/wadl:representation)">
|
test="not(wadl:request) and not(wadl:response[starts-with(normalize-space(@status),'2')]/wadl:representation)">
|
||||||
|
|||||||
@@ -75,7 +75,7 @@ Processing legalnotice: <xsl:value-of select="@role"/>
|
|||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
The abstract is supressed if the rs-api legal notice is used, as
|
The abstract is suppressed if the rs-api legal notice is used, as
|
||||||
it's incorporated into the document in this case.
|
it's incorporated into the document in this case.
|
||||||
-->
|
-->
|
||||||
<xsl:template match="d:abstract" mode="preprocess">
|
<xsl:template match="d:abstract" mode="preprocess">
|
||||||
|
|||||||
@@ -758,7 +758,7 @@ set toc,title
|
|||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
The abstract is supressed if the rs-api legal notice is used, as
|
The abstract is suppressed if the rs-api legal notice is used, as
|
||||||
it's incorporated into the document in this case.
|
it's incorporated into the document in this case.
|
||||||
-->
|
-->
|
||||||
<xsl:template match="d:abstract" mode="titlepage.mode">
|
<xsl:template match="d:abstract" mode="titlepage.mode">
|
||||||
|
|||||||
@@ -537,10 +537,10 @@
|
|||||||
<xsl:if test="wadl:response/wadl:representation/wadl:doc/xhtml:*">
|
<xsl:if test="wadl:response/wadl:representation/wadl:doc/xhtml:*">
|
||||||
<xsl:apply-templates select="wadl:response/wadl:representation/wadl:doc/xhtml:*" mode="process-xhtml"/>
|
<xsl:apply-templates select="wadl:response/wadl:representation/wadl:doc/xhtml:*" mode="process-xhtml"/>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
<!-- we allow no response text and we dont have a 200 level response with a representation -->
|
<!-- we allow no response text and we don't have a 200 level response with a representation -->
|
||||||
<xsl:if test="not($skipNoResponseText) and not(wadl:response[starts-with(normalize-space(@status),'2')]/wadl:representation)">
|
<xsl:if test="not($skipNoResponseText) and not(wadl:response[starts-with(normalize-space(@status),'2')]/wadl:representation)">
|
||||||
<!-- if we are also missing request text and it's not
|
<!-- if we are also missing request text and it's not
|
||||||
supressed then output the noreqresp message,
|
suppressed then output the noreqresp message,
|
||||||
otherwise output the noresponse message -->
|
otherwise output the noresponse message -->
|
||||||
<xsl:choose>
|
<xsl:choose>
|
||||||
<xsl:when test="not($skipNoRequestText) and (not(wadl:request) or wadl:request[wadl:representation[@mediaType = 'application/xml' and not(@element)]])">
|
<xsl:when test="not($skipNoRequestText) and (not(wadl:request) or wadl:request[wadl:representation[@mediaType = 'application/xml' and not(@element)]])">
|
||||||
|
|||||||
@@ -665,7 +665,7 @@ of the context node are in scope, as are processing instructions that appear
|
|||||||
|
|
||||||
<refdescription>
|
<refdescription>
|
||||||
<para>This function searches a list of processing instructions for the
|
<para>This function searches a list of processing instructions for the
|
||||||
first psuedo-attribute matching the specified name and returns its value.
|
first pseudo-attribute matching the specified name and returns its value.
|
||||||
</para>
|
</para>
|
||||||
</refdescription>
|
</refdescription>
|
||||||
|
|
||||||
@@ -718,7 +718,7 @@ such attribute can be found.</para>
|
|||||||
<refpurpose>Returns a pseudo-XPath expression locating the specified node</refpurpose>
|
<refpurpose>Returns a pseudo-XPath expression locating the specified node</refpurpose>
|
||||||
|
|
||||||
<refdescription>
|
<refdescription>
|
||||||
<para>This function returns a psuedo-XPath expression that navigates from
|
<para>This function returns a pseudo-XPath expression that navigates from
|
||||||
the root of the document to the specified node.</para>
|
the root of the document to the specified node.</para>
|
||||||
|
|
||||||
<warning>
|
<warning>
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ moves all <tag>title</tag>, <tag>subtitle</tag>, and
|
|||||||
<tag>titleabbrev</tag> elements inside <tag>info</tag> wrappers,
|
<tag>titleabbrev</tag> elements inside <tag>info</tag> wrappers,
|
||||||
creating the wrapper if necessary.</para>
|
creating the wrapper if necessary.</para>
|
||||||
<para>If the element being normalized has a default title (e.g.,
|
<para>If the element being normalized has a default title (e.g.,
|
||||||
<tag>bibligraphy</tag> and <tag>glossary</tag>), the title is made
|
<tag>bibliography</tag> and <tag>glossary</tag>), the title is made
|
||||||
explicit during normalization.</para>
|
explicit during normalization.</para>
|
||||||
<para>External glossaries and bibliographies (not yet!) are also
|
<para>External glossaries and bibliographies (not yet!) are also
|
||||||
copied by normalization.</para>
|
copied by normalization.</para>
|
||||||
|
|||||||
@@ -112,7 +112,7 @@ convert percentages to actual values based on that nominal size.
|
|||||||
</orderedlist>
|
</orderedlist>
|
||||||
|
|
||||||
<para>Scale can be problematic. Scale applies to the contentwidth, so
|
<para>Scale can be problematic. Scale applies to the contentwidth, so
|
||||||
a scale of 50 when a contentwidth is not specified is analagous to a
|
a scale of 50 when a contentwidth is not specified is analogous to a
|
||||||
width of 50%. (If a contentwidth is specified, the scaling factor can
|
width of 50%. (If a contentwidth is specified, the scaling factor can
|
||||||
be applied to that value and no problem exists.)</para>
|
be applied to that value and no problem exists.)</para>
|
||||||
|
|
||||||
|
|||||||
@@ -70,7 +70,7 @@ moves all <tag>title</tag>, <tag>subtitle</tag>, and
|
|||||||
<tag>titleabbrev</tag> elements inside <tag>info</tag> wrappers,
|
<tag>titleabbrev</tag> elements inside <tag>info</tag> wrappers,
|
||||||
creating the wrapper if necessary.</para>
|
creating the wrapper if necessary.</para>
|
||||||
<para>If the element being normalized has a default title (e.g.,
|
<para>If the element being normalized has a default title (e.g.,
|
||||||
<tag>bibligraphy</tag> and <tag>glossary</tag>), the title is made
|
<tag>bibliography</tag> and <tag>glossary</tag>), the title is made
|
||||||
explicit during normalization.</para>
|
explicit during normalization.</para>
|
||||||
<para>External glossaries and bibliographies (not yet!) are also
|
<para>External glossaries and bibliographies (not yet!) are also
|
||||||
copied by normalization.</para>
|
copied by normalization.</para>
|
||||||
|
|||||||
@@ -1174,7 +1174,7 @@ WARNING: No more than six steps are allowed in a tutorial.
|
|||||||
<xsl:otherwise>
|
<xsl:otherwise>
|
||||||
<xsl:message>
|
<xsl:message>
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
WARNING: Unsupported langague on a <xsl:value-of select="local-name()"/>
|
WARNING: Unsupported language on a <xsl:value-of select="local-name()"/>
|
||||||
element: <xsl:value-of select="@language"/>
|
element: <xsl:value-of select="@language"/>
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
</xsl:message>
|
</xsl:message>
|
||||||
|
|||||||
@@ -110,7 +110,7 @@
|
|||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
The abstract is supressed if the rs-api legal notice is used, as
|
The abstract is suppressed if the rs-api legal notice is used, as
|
||||||
it's incorporated into the document in this case.
|
it's incorporated into the document in this case.
|
||||||
-->
|
-->
|
||||||
<xsl:template match="d:abstract" mode="preprocess">
|
<xsl:template match="d:abstract" mode="preprocess">
|
||||||
|
|||||||
@@ -26,8 +26,8 @@
|
|||||||
* @option Number|Date expires Either an integer specifying the expiration date from now on in days or a Date object.
|
* @option Number|Date expires Either an integer specifying the expiration date from now on in days or a Date object.
|
||||||
* If a negative value is specified (e.g. a date in the past), the cookie will be deleted.
|
* If a negative value is specified (e.g. a date in the past), the cookie will be deleted.
|
||||||
* If set to null or omitted, the cookie will be a session cookie and will not be retained
|
* If set to null or omitted, the cookie will be a session cookie and will not be retained
|
||||||
* when the the browser exits.
|
* when the browser exits.
|
||||||
* @option String path The value of the path atribute of the cookie (default: path of page that created the cookie).
|
* @option String path The value of the path attribute of the cookie (default: path of page that created the cookie).
|
||||||
* @option String domain The value of the domain attribute of the cookie (default: domain of page that created the cookie).
|
* @option String domain The value of the domain attribute of the cookie (default: domain of page that created the cookie).
|
||||||
* @option Boolean secure If true, the secure attribute of the cookie will be set and the cookie transmission will
|
* @option Boolean secure If true, the secure attribute of the cookie will be set and the cookie transmission will
|
||||||
* require a secure protocol (like HTTPS).
|
* require a secure protocol (like HTTPS).
|
||||||
|
|||||||
@@ -249,7 +249,7 @@
|
|||||||
hitarea: "hitarea"
|
hitarea: "hitarea"
|
||||||
};
|
};
|
||||||
|
|
||||||
// provide backwards compability
|
// provide backwards compatibility
|
||||||
$.fn.Treeview = $.fn.treeview;
|
$.fn.Treeview = $.fn.treeview;
|
||||||
|
|
||||||
})(jQuery);
|
})(jQuery);
|
||||||
@@ -29,9 +29,9 @@
|
|||||||
/*
|
/*
|
||||||
and then do the following mappings,
|
and then do the following mappings,
|
||||||
(a) replace ß with ss,
|
(a) replace ß with ss,
|
||||||
(a) replace ae with ä, Not doing these, have trouble with diphtongs
|
(a) replace ae with ä, Not doing these, have trouble with diphthongs
|
||||||
(a) replace oe with ö, Not doing these, have trouble with diphtongs
|
(a) replace oe with ö, Not doing these, have trouble with diphthongs
|
||||||
(a) replace ue with ü unless preceded by q. Not doing these, have trouble with diphtongs
|
(a) replace ue with ü unless preceded by q. Not doing these, have trouble with diphthongs
|
||||||
So in quelle, ue is not mapped to ü because it follows q, and in feuer it is not mapped because the first part of the rule changes it to feUer, so the u is not found.
|
So in quelle, ue is not mapped to ü because it follows q, and in feuer it is not mapped because the first part of the rule changes it to feUer, so the u is not found.
|
||||||
*/
|
*/
|
||||||
word = word.replace(/ß/g, 'ss');
|
word = word.replace(/ß/g, 'ss');
|
||||||
|
|||||||
Reference in New Issue
Block a user