Skip to content

Commit

Permalink
Merge pull request #453 from aleksey-gonchar/fix-wrap-var-definition-…
Browse files Browse the repository at this point in the history
…missing

* added `var` for `makeString` definition
  • Loading branch information
stoeffel committed Oct 15, 2015
2 parents 608441e + bb4f12b commit bc17165
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wrap.js
@@ -1,7 +1,7 @@
// Wrap
// wraps a string by a certain width

makeString = require('./helper/makeString');
var makeString = require('./helper/makeString');

module.exports = function wrap(str, options){
str = makeString(str);
Expand Down Expand Up @@ -97,4 +97,4 @@ module.exports = function wrap(str, options){

return result;
}
};
};

0 comments on commit bc17165

Please sign in to comment.