Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

formatting

  • Loading branch information...
commit 1f1ff221febd6480550fdc67968264041a69df6c 1 parent b20ba0f
Sascha Depold authored
Showing with 10 additions and 2 deletions.
  1. +10 −2 lib/utils.js
12 lib/utils.js
View
@@ -13,12 +13,20 @@ var Utils = module.exports = {
includes: _s.include,
camelizeIf: function(string, condition) {
var result = string
- if(condition) result = _.camelize(string)
+
+ if(condition) {
+ result = _.camelize(string)
+ }
+
return result
},
underscoredIf: function(string, condition) {
var result = string
- if(condition) result = _.underscored(string)
+
+ if(condition) {
+ result = _.underscored(string)
+ }
+
return result
}
})
Please sign in to comment.
Something went wrong with that request. Please try again.