[Freeipa-devel] Proposed Javascript coding standards
Endi Sukma Dewata
edewata at redhat.com
Mon Sep 13 19:33:59 UTC 2010
Hi Adam,
----- "Adam Young" <ayoung at redhat.com> wrote:
> https://fedorahosted.org/freeipa/wiki/Javascript_Coding_Standards
Whitespace: Do we put a space in function definition between the () and {}?
function(){...}
vs.
function() {...}
Or does it matter?
Compound statement: This is probably Python syntax.
if foo == 'blah':
do_blah_thing()
Comments: Should use // or /* ... */ instead of #.
Thanks!
--
Endi S. Dewata
>
> _______________________________________________
> Freeipa-devel mailing list
> Freeipa-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/freeipa-devel
More information about the Freeipa-devel
mailing list