From b4080a3aaaf3f756c5f115ab620d6cfcb2c1ce4f Mon Sep 17 00:00:00 2001 From: hellekin Date: Tue, 28 Nov 2017 23:28:29 +0100 Subject: Part 1: Add an annoying alert on initialization --- assets/javascripts/discourse/initializers/alert.js.es6 | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 assets/javascripts/discourse/initializers/alert.js.es6 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 -- cgit v1.2.3