Skip to content
This repository has been archived by the owner on Apr 17, 2018. It is now read-only.

Commit

Permalink
minor bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
elmerbulthuis committed Jul 9, 2012
1 parent a1f6f1e commit bff8bbf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/2kenizer.js
Expand Up @@ -15,6 +15,7 @@ var tools = require("./tools");
module.exports = (function(target){ module.exports = (function(target){


target.prototype.write = function(data){ target.prototype.write = function(data){
data = tools.toString(data);
while(data.length > 0) { while(data.length > 0) {
var chunk = data.substring(0, this.options.bufferLimit); var chunk = data.substring(0, this.options.bufferLimit);
data = data.substring(chunk.length); data = data.substring(chunk.length);
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,7 +1,7 @@
{ {
"name": "2kenizer" "name": "2kenizer"
, "description": "efficient tokenizer" , "description": "efficient tokenizer"
, "version": "0.1.4" , "version": "0.1.5"
, "author": "Elmer Bulthuis <elmerbulthuis@gmail.com>" , "author": "Elmer Bulthuis <elmerbulthuis@gmail.com>"
, "repositories": [ , "repositories": [
{"type": "git", "url": "git@github.com:elmerbulthuis/2kenizer.git"} {"type": "git", "url": "git@github.com:elmerbulthuis/2kenizer.git"}
Expand Down

0 comments on commit bff8bbf

Please sign in to comment.