Skip to content
This repository has been archived by the owner on Feb 25, 2020. It is now read-only.

Commit

Permalink
delimeter -> delimiter
Browse files Browse the repository at this point in the history
  • Loading branch information
olegp committed Sep 4, 2011
1 parent 75cb7d3 commit 13e3710
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/binary.js
Original file line number Diff line number Diff line change
Expand Up @@ -805,7 +805,7 @@ ByteString.prototype.copy = function(start, end, target, targetOffset) {
* @name ByteString.prototype.split
* @function
*/
ByteString.prototype.split = function(delimeters, options) {
ByteString.prototype.split = function(delimiters, options) {
// taken from https://github.com/kriskowal/narwhal-lib/
options = options || {};

Expand All @@ -819,7 +819,7 @@ ByteString.prototype.split = function(delimeters, options) {
if(typeof delimiter === "number") {
delimiter = [delimiter];
}
return new ByteString(delimeter);
return new ByteString(delimiter);
});

var components = [], startOffset = 0, currentOffset = 0;
Expand Down

0 comments on commit 13e3710

Please sign in to comment.