src/js/init.js
author veltr
Wed, 19 Jun 2013 18:54:46 +0200
changeset 1003 a4dc93a91a95
parent 1002 a86208b60c91
child 1016 e1752b696a07
permissions -rw-r--r--
Hashtags fix

/* 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._;
}