src/js/init.js
author durandn
Fri, 18 Sep 2015 14:41:51 +0200
changeset 1051 3820cf5fe29e
parent 1016 e1752b696a07
child 1072 ac1eacb3aa33
permissions -rw-r--r--
Added support for custom button texts + Added support for deleting markers + reworked the way the "+" and "-" buttons work + Added a "placeholder" marker when clicking "+" to show where in the timeline the marker will be posted

/* Initialization of the namespace */

if (typeof window.IriSP === "undefined") {
    window.IriSP = {
        VERSION: "0.3.2"
    };
}

if (typeof IriSP.jQuery === "undefined" && typeof window.jQuery !== "undefined") {
    var jvp = window.jQuery().jquery.split("."),
        jv = 100 * parseInt(jvp[0]) + parseInt(jvp[1]);
    if (jv > 170) {
        IriSP.jQuery = window.jQuery;
    }
}

if (typeof IriSP._ === "undefined" && typeof window._ !== "undefined" && parseFloat(window._.VERSION) >= 1.4) {
    IriSP._ = window._;
}