Contains the possible codes that may be returned by TemplateSettings#validate.
Note: TemplateSettings.validationCode.INVALID is currently not used,
but exists for a common value to be used under various unforeseen conditions.
- Since:
- 1.0
- Source:
- TemplateSettings.js, line 22
Members
-
<static, constant> BROKEN_CONDITIONAL :int
-
Data contains a broken conditional tag pair.
- Since:
- 1.0
- Default Value:
- 2
- Source:
- TemplateSettings.js, line 57
-
<static, constant> BROKEN_ITERATE :int
-
Data contains a broken conditional tag pair.
- Since:
- 1.0
- Default Value:
- 2
- Source:
- TemplateSettings.js, line 65
-
<static, constant> BROKEN_TAG :int
-
Data contains a broken tag at the end of the string.
- Since:
- 1.0
- Default Value:
- 3
- Source:
- TemplateSettings.js, line 73
-
<static, constant> INVALID :int
-
Data is not valid, and there is no appropriate code defined for the condition.
- Since:
- 1.0
- Default Value:
- -1
- Source:
- TemplateSettings.js, line 30
-
<static, constant> POSSIBLE_BROKEN_TAG :int
-
Data contains a tag that may or may not be a broken tag at the end of the string.
- Since:
- 1.0
- Default Value:
- 4
- Source:
- TemplateSettings.js, line 81
-
<static, constant> UNVALIDATED :int
-
Data has not been validated. This is the code TemplateSettings#validationCode is set to before invoking TemplateSettings#validate, and after invoking TemplateSettings#reset.
- Since:
- 1.0
- Default Value:
- 0
- Source:
- TemplateSettings.js, line 41
-
<static, constant> VALID :int
-
Data passed validation.
- Since:
- 1.0
- Default Value:
- 1
- Source:
- TemplateSettings.js, line 49