mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-27 00:13:30 +01:00
Fix some more typos and errors in the documentation
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
|
||||
<p>
|
||||
&dactyl.appname; can repeat commands in a number of ways, from repeating
|
||||
the last command, to recording and playing macros, to saving its state and
|
||||
the last command, recording and playing macros, to saving its state and
|
||||
executing scripts.
|
||||
</p>
|
||||
|
||||
@@ -117,7 +117,7 @@
|
||||
<description>
|
||||
<p>
|
||||
Read Ex commands, JavaScript, or CSS from <a>file</a>. Files are
|
||||
interpreted based on their extensions. Files when end in
|
||||
interpreted based on their extensions. Files which end in
|
||||
<em>.js</em> are executed as JavaScript, while those ending in
|
||||
<em>.css</em> are loaded as Cascading Stylesheets, and anything
|
||||
else is interpreted as Ex commands. In normal cases, any errors
|
||||
@@ -140,7 +140,7 @@
|
||||
page and every chrome document, including all browser windows and
|
||||
dialogs. If the same file is sourced more than once, its previous
|
||||
rules are cleared before it is applied again. Rules can be
|
||||
restricted to specific documents by enclosing them
|
||||
restricted to specific documents by enclosing them inside
|
||||
<link topic="https://developer.mozilla.org/en/CSS/@-moz-document">@-moz-document</link>
|
||||
blocks.
|
||||
</p>
|
||||
@@ -150,7 +150,7 @@
|
||||
<p>
|
||||
JavaScript files are executed with full chrome privileges in their
|
||||
own global namespaces. These namespaces are stored as objects in
|
||||
the <em>plugins</em> object, in the property named for the full
|
||||
the <em>plugins</em> object, in the property named after the full
|
||||
path of the sourced file. This means that any variables or
|
||||
functions created by your script are stored as properties of that
|
||||
object. Additionally, all properties of the global <em>window</em>
|
||||
@@ -213,7 +213,7 @@
|
||||
<p>
|
||||
Source the specified file from the first directory in
|
||||
<o>runtimepath</o> in which it exists. When <oa>!</oa> is given,
|
||||
source the specified from all directories in <o>runtimepath</o> in
|
||||
source the file from all directories in <o>runtimepath</o> in
|
||||
which it exists.
|
||||
</p>
|
||||
<example><ex>:runtime plugins/foobar.js</ex></example>
|
||||
|
||||
Reference in New Issue
Block a user