Skip to content
For ACC
JavaScript HTML CSS
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md Add semicolon link Oct 13, 2019
app.js Clear contentBox on new Nov 10, 2019
index.html Clean up JS Nov 10, 2019
style.css Remove button, fix file name functionality Nov 10, 2019

README.md

CloudTextEditor

For Aggie Coding Club (ACC)

Style

Please read this style guide in full.

Indentation should consist of four spaces (not tabs). If you don't know how to configure your text editor to do this. Please talk to Sullivan.

Lines should not exceed 80 characters.

Semicolons should be avoided except where necessary.

The following syntax should be used to define functions and anonymous functions respectively:

function hello() {
    console.log("hello")
}

var hello = function() { console.log("hello") }

If the function is particularly short:

var helloString = () => "hello"

If you are using arrow functions, keep in mind that they don't behave exactly the same way as normal functions.

For other style considerations, use your best judgements and try to stick to the same style as the rest of the code.

Some useful links:

You can’t perform that action at this time.