mirror of
https://github.com/vale981/Vulcan
synced 2025-03-06 10:01:40 -05:00
Improve FromModel comments slightly.
This commit is contained in:
parent
84f58b6526
commit
a5d2c20e82
1 changed files with 2 additions and 1 deletions
|
@ -3,7 +3,7 @@ var StringUtils = {
|
|||
|
||||
/*
|
||||
Assumes that the argument is a camel-case string.
|
||||
It places spaces between each word and capitalize the first letter. So, a string like "camelCase" becomes "Camel Case".
|
||||
It places spaces between each word and capitalizes the first letter. So, a string like "camelCase" becomes "Camel Case".
|
||||
*/
|
||||
humanize: function(string) {
|
||||
return this.capitalize(this.convertCamelToSpaces(string));
|
||||
|
@ -35,6 +35,7 @@ var FormModel = Class.extend({
|
|||
/*
|
||||
blankSchema is an object that each extending class must provide.
|
||||
It contains all the fields to be saved to the database and their default values.
|
||||
The schema field holds the data to be saved to the database.
|
||||
*/
|
||||
this.schema = this.blankSchema;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue