-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtemplateListener.xml
More file actions
26 lines (25 loc) · 964 Bytes
/
templateListener.xml
File metadata and controls
26 lines (25 loc) · 964 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?xml version="1.0" encoding="UTF-8"?>
<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/templateListener.xsd">
<import>
<templatelistener name="javascriptInclude">
<environment>user</environment>
<templatename>headInclude</templatename>
<eventname>javascriptInclude</eventname>
<templatecode><![CDATA[<script>;(function () {
var noop = function () { return false }
if (!window.be) window.be = { }
if (!window.be.bastelstu) window.be.bastelstu = { }
if (!window.be.bastelstu.wcf) window.be.bastelstu.wcf = { }
if (!window.be.bastelstu.wcf.push) {
var legacy = { init: noop
, onConnect: noop
, onDisconnect: noop
, onMessage: noop
}
window.be.bastelstu.wcf.push = legacy
}
})();</script>]]></templatecode>
<nice>-100</nice>
</templatelistener>
</import>
</data>