diff options
author | 2015-01-16 14:22:58 -0800 | |
---|---|---|
committer | 2015-01-16 14:22:58 -0800 | |
commit | 53116ffd7a120ce512594758f19f4f8eff78e5c9 (patch) | |
tree | e50d97fdb60b60354c91437bacbd659060a4439f /src | |
parent | fd81e70443a4a185bcc14ab38f52a1aa8b1a2782 (diff) |
Fixed casing functionality in common.js
Diffstat (limited to 'src')
-rw-r--r-- | src/node/common.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/node/common.js b/src/node/common.js index c9684f0ec4..54247e3fa1 100644 --- a/src/node/common.js +++ b/src/node/common.js @@ -31,7 +31,7 @@ * */ -var s = require('underscore.string'); +var capitalize = require('underscore.string/capitalize'); /** * Get a function that deserializes a specific type of protobuf. @@ -76,7 +76,7 @@ function fullyQualifiedName(value) { } var name = value.name; if (value.className === 'Service.RPCMethod') { - name = s(name).capitalize().value(); + name = capitalize(name); } if (value.hasOwnProperty('parent')) { var parent_name = fullyQualifiedName(value.parent); |