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-19 05:17:05 +0800
commitf8fcd1bc26b924475aeafda92d25d40e9da04be2 (patch)
treee1cf8dba1322c49aea79dc95f5168f517f1cac1a /docs
parent8efd6dd27a9ae1ccb8391ac326f04dff55129b5f (diff)
downloaddexon-solidity-f8fcd1bc26b924475aeafda92d25d40e9da04be2.tar.gz
dexon-solidity-f8fcd1bc26b924475aeafda92d25d40e9da04be2.tar.zst
dexon-solidity-f8fcd1bc26b924475aeafda92d25d40e9da04be2.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 02f89bb8..fe17658c 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,