Skip to content

Commit

Permalink
style. Closes #86
Browse files Browse the repository at this point in the history
  • Loading branch information
hueniverse committed May 21, 2015
1 parent b7b2189 commit 5688af0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/stringify.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,15 @@ var internals = {
delimiter: '&',
arrayPrefixGenerators: {
brackets: function (prefix, key) {

return prefix + '[]';
},
indices: function (prefix, key) {

return prefix + '[' + key + ']';
},
repeat: function (prefix, key) {

return prefix;
}
}
Expand Down
1 change: 1 addition & 0 deletions lib/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ exports.compact = function (obj, refs) {


exports.isRegExp = function (obj) {

return Object.prototype.toString.call(obj) === '[object RegExp]';
};

Expand Down

0 comments on commit 5688af0

Please sign in to comment.