Browse Source

Merge pull request #47 from mrdomino/master

Couple typos and possible future work
bitwiseshiftleft 14 years ago
parent
commit
205d7dea6d
2 changed files with 3 additions and 3 deletions
  1. 1 1
      core/bitArray.js
  2. 2 2
      lint/coding_guidelines.pl

+ 1 - 1
core/bitArray.js

@@ -31,7 +31,7 @@
 sjcl.bitArray = {
   /**
    * Array slices in units of bits.
-   * @param {bitArray a} The array to slice.
+   * @param {bitArray} a The array to slice.
    * @param {Number} bstart The offset to the start of the slice, in bits.
    * @param {Number} bend The offset to the end of the slice, in bits.  If this is undefined,
    * slice until the end of the array.

+ 2 - 2
lint/coding_guidelines.pl

@@ -12,8 +12,8 @@
 #
 #   ++ and -- are allowed.
 #
-#   Varibles are in camelCase.  I prefer underscore_separated, but JavaScript uses
-#   camelCase everywhere.
+#   Variables are in camelCase.  I prefer underscore_separated, but JavaScript
+#   uses camelCase everywhere.
 #
 #   Private members and methods are prefixed by underscores.
 #