src/js/init.js
author veltr
Tue, 18 Jun 2013 11:08:50 +0200
changeset 1002 a86208b60c91
parent 1000 91023037f841
child 1016 e1752b696a07
permissions -rw-r--r--
Bugfixes and changes for MDComposer

/* Initialization of the namespace */

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

if (typeof IriSP.jQuery === "undefined" && typeof window.jQuery !== "undefined" && parseFloat(window.jQuery().jquery) >= 1.7) {
    IriSP.jQuery = window.jQuery;
}

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