tomchentw/sprocket — pull request #23 by tomchentw (2014-07-15 15:24:18+00:00)
Title: Rename non public names

# Public/Protected/Private
## variables/functions/properties
### in JS is a mess

However I come up with something interesting solution

## For `Public` variables/functions/properties
Use `camelCased`:
```js
Locals.prototype.javascriptIncludeTag = function(keyPath, options){}
```

## For `Protected`functions
Use `underscored_namings`:
```js
Locals.prototype.create_script_tag = function(keyPath, options){}
```

## For `Private` functions, or for `Protected` and `Private` variables
Use `_underscored_namings_with_prefix_underscore`:
```js
Locals.prototype._create_style_tag = function(keyPath, options){}
Locals.prototype._use_indent = ' '; // two spaces
```