Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[doc] bsljsconf: typos.

  • Loading branch information...
commit 748f185e6d2a515b12304ca6d4a7742e47b56f5b 1 parent 8adc55a
@arthuraa arthuraa authored
Showing with 8 additions and 8 deletions.
  1. +5 −5 compiler/libbsl/bslJsConf.ml
  2. +3 −3 compiler/libbsl/bslJsConf.mli
View
10 compiler/libbsl/bslJsConf.ml
@@ -26,7 +26,7 @@ module String = BaseString
(*
To extend the type, follow EXTEND-OPT
- <!> the type should remain marshalable, becuase it is embeded in plugins.
+ <!> the type should remain marshalable, because it is embedded in plugins.
*)
type optimized_conf = {
cleanup : bool ;
@@ -37,7 +37,7 @@ type optimized_conf = {
}
(*
- <!> Beware, this type is marshaled during the bsl preprocess
+ <!> Beware, this type is marshaled during the bsl preprocessing
*)
type conf =
| Verbatim
@@ -194,7 +194,7 @@ struct
Verbatim
else
(*
- keep the previous setting, if it exists one
+ keep the previous setting, if one exists
*)
Optimized (get_opt conf)
in
@@ -225,7 +225,7 @@ type t = {
files : string list ;
files_set : StringSet.t ;
(*
- cache: same than files, but in a set format
+ cache: same as files, but in a set format
*)
}
@@ -362,7 +362,7 @@ let fold conffile t =
(*
Internal error.
We filter only files already known in the function parse_line,
- and the initializer of type [t] build the field [files]
+ and the initializer of type [t] builds the field [files]
*)
assert false
in
View
6 compiler/libbsl/bslJsConf.mli
@@ -29,8 +29,8 @@
-local inline
-etc.
- Nevertheless, some files are very hacky (example jquery), and contains
- specific workarround for contourning some hacks of some browser.
+ Nevertheless, some files are very hacky (example jquery), and contain
+ specific workarounds for bypassing browser bugs.
A scary example is the following code, taken from jquery-1.4.4.:
{[
@@ -50,7 +50,7 @@
]}
The cleanup pass would simply remove the expressions [parent.selectedIndex] and [parent.parentNode.selectedIndex]
- because they does not make side effects, although the hack tell the contrary.
+ because they don't have side effects, although the hack tells the contrary.
*)
(** {6 Configuration} *)
Please sign in to comment.
Something went wrong with that request. Please try again.