kopia lustrzana https://github.com/c9/core
Merge branch 'sdk/merge/core'
commit
75dce9a13a
|
@ -19,7 +19,7 @@ Base
|
||||||
Tabs vs Spaces
|
Tabs vs Spaces
|
||||||
--------------
|
--------------
|
||||||
|
|
||||||
We use 4 spaces of indenteation.
|
We use 4 spaces of indentation.
|
||||||
|
|
||||||
Line Termination
|
Line Termination
|
||||||
----------------
|
----------------
|
||||||
|
@ -100,7 +100,7 @@ Your opening braces go on the same line as the statement.
|
||||||
|
|
||||||
Also, notice the use of whitespace before and after the condition statement.
|
Also, notice the use of whitespace before and after the condition statement.
|
||||||
|
|
||||||
Closing braces are always followed by a new line. This is releavant for `else`, `catch` and `finally`.
|
Closing braces are always followed by a new line. This is relevant for `else`, `catch` and `finally`.
|
||||||
|
|
||||||
*Right*:
|
*Right*:
|
||||||
|
|
||||||
|
|
|
@ -63,7 +63,7 @@ updatePackage() {
|
||||||
}
|
}
|
||||||
|
|
||||||
updateAllPackages() {
|
updateAllPackages() {
|
||||||
c9packages=(`"$NODE" -e 'console.log(Object.keys(require("./package.json").c9plugins).join(" "))'`);
|
c9packages=`"$NODE" -e 'console.log(Object.keys(require("./package.json").c9plugins).join(" "))'`;
|
||||||
count=${#c9packages[@]}
|
count=${#c9packages[@]}
|
||||||
i=0
|
i=0
|
||||||
for m in ${c9packages[@]}; do echo $m;
|
for m in ${c9packages[@]}; do echo $m;
|
||||||
|
|
Ładowanie…
Reference in New Issue