diff options
author | hellekin <hellekin@cepheide.org> | 2017-11-28 23:28:29 +0100 |
---|---|---|
committer | hellekin <hellekin@cepheide.org> | 2017-11-28 23:29:32 +0100 |
commit | b4080a3aaaf3f756c5f115ab620d6cfcb2c1ce4f (patch) | |
tree | 20e99bf579147b8208ceced18360fb167cbaf212 /assets | |
parent | bf061afcf4598fdd29f691ac320c5f0d668cda96 (diff) | |
download | discourse-sample-plugin-b4080a3aaaf3f756c5f115ab620d6cfcb2c1ce4f.tar.gz |
Part 1: Add an annoying alert on initialization
Diffstat (limited to 'assets')
-rw-r--r-- | assets/javascripts/discourse/initializers/alert.js.es6 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/assets/javascripts/discourse/initializers/alert.js.es6 b/assets/javascripts/discourse/initializers/alert.js.es6 new file mode 100644 index 0000000..b3d0661 --- /dev/null +++ b/assets/javascripts/discourse/initializers/alert.js.es6 @@ -0,0 +1,6 @@ +export default { + name: 'alert', + initialize() { + alert('alert boxes are annoying!'); + } +};
\ No newline at end of file |