help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Good JavaScript c-style-mode?


From: jrwats
Subject: Good JavaScript c-style-mode?
Date: Mon, 22 Sep 2008 13:47:39 -0700 (PDT)
User-agent: G2/1.0

Does anyone know a good c-style-mode or what variables I need to
change to fix the below indentation:
AClass = {}

    AClass.function1 = function(){
        alert('function1');
    }

        Aclass.function2 = function(){
            alert('function2');
        }

The desired indentation would be:
AClass = {}

AClass.function1 = function(){
    alert('function1');
}

Aclass.function2 = function(){
  alert('function2');
}


reply via email to

[Prev in Thread] Current Thread [Next in Thread]