]> jfr.im git - irc/quakenet/qwebirc.git/blobdiff - js/qwebirc.js
Add experimental support for modifiable stylesheets.
[irc/quakenet/qwebirc.git] / js / qwebirc.js
index bfd8183d06b7f293e01a20b37a528d60cbef572a..8601caa4378088b0f25922c6c24d1347427ac67a 100644 (file)
@@ -1 +1,9 @@
-var qwebirc = {ui: {themes: {}}, irc: {}, util: {crypto: {}}, config: {}, auth: {}, sound: {}};
+var qwebirc = {ui: {themes: {}, style: {}}, irc: {}, util: {crypto: {}}, config: {}, auth: {}, sound: {}};
+
+if(typeof QWEBIRC_BUILD != "undefined") {
+  qwebirc.BUILD = QWEBIRC_BUILD;
+  qwebirc.FILE_SUFFIX = "-" + QWEBIRC_BUILD;
+} else {
+  qwebirc.BUILD = null;
+  qwebirc.FILE_SUFFIX = "";
+}