src/js/init.js
author veltr
Thu, 16 May 2013 13:34:02 +0200
changeset 1001 3210bf928a11
parent 1000 91023037f841
child 1002 a86208b60c91
permissions -rw-r--r--
Enabled loading widgets without the widgeting framework

/* Initialization of the namespace */

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

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