I am reading a javascript file written by someone that has a couple of functions for modifying CSS and other things and I am not a pro level at Javascipt; I am seeing a piece of code like
+ function(a) {
"use strict";
function b() {
var a = document.createElement("bootstrap"),
b = {
WebkitTransition: "webkitTransitionEnd",
MozTransition: "transitionend",
OTransition: "oTransitionEnd otransitionend",
transition: "transitionend"
};
for (var c in b)
if (void 0 !== a.style[c]) return {
end: b[c]
}
}
a.fn.emulateTransitionEnd = function(b) {
var c = !1,
d = this;
a(this).one(a.support.transition.end, function() {
c = !0
});
var e = function() {
c || a(d).trigger(a.support.transition.end)
};
return setTimeout(e, b), this
}, a(function() {
a.support.transition = b()
})
}(window.jQuery), + function(a) {
What does adding the + sign do to a javascript function ? The code is really long so I just pasted whatever i thought was relevant.
I have found my answer and this is a duplicate post of another but for those who want the full source code it is here source code