aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorDenton Liu <liu.denton+github@gmail.com>2016-05-06 22:25:18 +0800
committerDenton Liu <liu.denton+github@gmail.com>2016-05-12 03:16:18 +0800
commitd4125c4f07b3f33e46cff2429616d50336c77e8c (patch)
treec0e298217c1f5c1fa0d2b6bcf098726ae9daf659 /docs
parent7e94a1d84d60791d2d1aeec73eae13d58120331f (diff)
downloaddexon-solidity-d4125c4f07b3f33e46cff2429616d50336c77e8c.tar.gz
dexon-solidity-d4125c4f07b3f33e46cff2429616d50336c77e8c.tar.zst
dexon-solidity-d4125c4f07b3f33e46cff2429616d50336c77e8c.zip
Changed do_something to doSomething
This is in accordance to the style guide
Diffstat (limited to 'docs')
-rw-r--r--docs/style-guide.rst18
1 files changed, 9 insertions, 9 deletions
diff --git a/docs/style-guide.rst b/docs/style-guide.rst
index ef2c334f..a6582b1b 100644
--- a/docs/style-guide.rst
+++ b/docs/style-guide.rst
@@ -365,14 +365,14 @@ Yes::
address e,
address f,
) {
- do_something;
+ doSomething();
}
No::
function thisFunctionHasLotsOfArguments(address a, address b, address c,
address d, address e, address f) {
- do_something;
+ doSomething();
}
function thisFunctionHasLotsOfArguments(address a,
@@ -381,7 +381,7 @@ No::
address d,
address e,
address f) {
- do_something;
+ doSomething();
}
function thisFunctionHasLotsOfArguments(
@@ -391,7 +391,7 @@ No::
address d,
address e,
address f) {
- do_something;
+ doSomething();
}
If a long function declaration has modifiers, then each modifier should be
@@ -405,7 +405,7 @@ Yes::
priced
returns (address)
{
- do_something;
+ doSomething();
}
function thisFunctionNameIsReallyLong(
@@ -418,7 +418,7 @@ Yes::
priced
returns (address)
{
- do_something;
+ doSomething();
}
No::
@@ -428,13 +428,13 @@ No::
onlyowner
priced
returns (address) {
- do_something;
+ doSomething();
}
function thisFunctionNameIsReallyLong(address x, address y, address z)
public onlyowner priced returns (address)
{
- do_something;
+ doSomething();
}
function thisFunctionNameIsReallyLong(address x, address y, address z)
@@ -442,7 +442,7 @@ No::
onlyowner
priced
returns (address) {
- do_something;
+ doSomething();
}
For constructor functions on inherited contracts who's bases require arguments,