Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7449487
ScopeIndentStandard.xml
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
682 B
Referenced Files
None
Subscribers
None
ScopeIndentStandard.xml
View Options
<documentation
title=
"Scope Indentation"
>
<standard>
<![CDATA[
Any scope openers except for switch statements should be indented 1 level. This includes classes, functions, and control structures.
]]>
</standard>
<code_comparison>
<code
title=
"Valid: Consistent indentation level for scope."
>
<![CDATA[
function foo()
{
<em> </em>if (
$
test) {
<em> </em>
$
var = 1;
<em> </em>}
}
]]>
</code>
<code
title=
"Invalid: Indentation is not used for scope."
>
<![CDATA[
function foo()
{
<em></em>if (
$
test) {
<em></em>
$
var = 1;
<em></em>}
}
]]>
</code>
</code_comparison>
</documentation>
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 22, 20:12 (1 d, 22 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
c3/46/1fd8ab4d97229427fb2c1958a0e1
Default Alt Text
ScopeIndentStandard.xml (682 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment