aboutsummaryrefslogtreecommitdiff
path: root/js/humane/humane-themed.js
diff options
context:
space:
mode:
authorPacien TRAN-GIRARD2014-05-13 19:52:13 +0200
committerPacien TRAN-GIRARD2014-05-13 19:52:13 +0200
commit82bd7f96523e02fb520d45f80a88301b7055072d (patch)
treeca9cc962b235efe8cfe1ee9c15f746c2133e101e /js/humane/humane-themed.js
parent6b4f6c457631a71c9aff13b5a183b4ebdc81f57b (diff)
downloadio-slides-remote-82bd7f96523e02fb520d45f80a88301b7055072d.tar.gz
Replace connection alert() by javascript/css notifications
Diffstat (limited to 'js/humane/humane-themed.js')
-rw-r--r--js/humane/humane-themed.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/js/humane/humane-themed.js b/js/humane/humane-themed.js
new file mode 100644
index 0000000..945a8d6
--- /dev/null
+++ b/js/humane/humane-themed.js
@@ -0,0 +1,13 @@
1define([ 'humane' ], function(humane) {
2
3 var themePath = 'js/humane/libnotify.css';
4
5 var style = document.createElement('link');
6 style.rel = 'stylesheet';
7 style.type = 'text/css';
8 style.href = themePath;
9 document.querySelector('head').appendChild(style);
10
11 return humane;
12
13});