mirror of
http://git.carcosa.net/jmcbray/brutaldon.git
synced 2024-11-27 09:10:08 -05:00
Update intercooler to v1.2.2
This commit is contained in:
parent
1a14dd8c3b
commit
464d6943b3
@ -4,7 +4,7 @@
|
|||||||
define(["jquery"], function (a0) {
|
define(["jquery"], function (a0) {
|
||||||
return (root['Intercooler'] = factory(a0));
|
return (root['Intercooler'] = factory(a0));
|
||||||
});
|
});
|
||||||
} else if (typeof exports === 'object') {
|
} else if (typeof module === 'object' && module.exports) {
|
||||||
// Node. Does not work with strict CommonJS, but
|
// Node. Does not work with strict CommonJS, but
|
||||||
// only CommonJS-like environments that support module.exports,
|
// only CommonJS-like environments that support module.exports,
|
||||||
// like Node.
|
// like Node.
|
||||||
@ -1092,7 +1092,7 @@ var Intercooler = Intercooler || (function() {
|
|||||||
if(triggerOn[0].indexOf("sse:") == 0) {
|
if(triggerOn[0].indexOf("sse:") == 0) {
|
||||||
//Server-sent event, find closest event source and register for it
|
//Server-sent event, find closest event source and register for it
|
||||||
var sourceElt = elt.closest(getICAttributeSelector('ic-sse-src'));
|
var sourceElt = elt.closest(getICAttributeSelector('ic-sse-src'));
|
||||||
if(sourceElt) {
|
if(sourceElt.length > 0) {
|
||||||
registerSSE(sourceElt, triggerOn[0].substr(4))
|
registerSSE(sourceElt, triggerOn[0].substr(4))
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
3
brutaldon/static/js/intercooler.min.js
vendored
Normal file
3
brutaldon/static/js/intercooler.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user