From e925ff366b5cc44a85ef9c7272a0e175a26efafb Mon Sep 17 00:00:00 2001 From: murgatroid99 Date: Fri, 16 Jan 2015 14:22:58 -0800 Subject: [PATCH] Fixed casing functionality in common.js --- common.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common.js b/common.js index c9684f0e..54247e3f 100644 --- a/common.js +++ b/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);