diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2020-11-04 20:23:05 +0300 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2020-11-04 20:23:05 +0300 |
commit | 74d4636b2b1555fe4c2d8c44f670abc0d0616947 (patch) | |
tree | b91e18ab898030a8c9d8fdfd1f6a60ecb6bdfe70 | |
parent | f35afff839081393dbc74c65a869182d5ca676d6 (diff) |
mod2: Add one more helloHEADmod2/v0.3.0main
-rw-r--r-- | mod2/assets/core/util/hello3.js | 5 | ||||
-rw-r--r-- | mod2/assets/core/util/hello5.js | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/mod2/assets/core/util/hello3.js b/mod2/assets/core/util/hello3.js index deab5ba..8fa9b0f 100644 --- a/mod2/assets/core/util/hello3.js +++ b/mod2/assets/core/util/hello3.js @@ -1,6 +1,11 @@ import { format } from 'date-fns'; +import { hello5 } from './hello5'; export function hello3() { let today = format(new Date(), "'Today is a' iiii"); return `Hello3 from mod2. Date from date-fns: ${today}`; } + +export function hello6() { + return hello5(); +} diff --git a/mod2/assets/core/util/hello5.js b/mod2/assets/core/util/hello5.js new file mode 100644 index 0000000..03ba50b --- /dev/null +++ b/mod2/assets/core/util/hello5.js @@ -0,0 +1,3 @@ +export function hello5() { + return `Hello5 from mod2.`; +} |