1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 20:58:30 +01:00

Option to test with local jquery framework added.

This commit is contained in:
Cameron 2013-07-17 03:08:40 -07:00
parent d55c60ba1d
commit c01d8b10ef

View File

@ -236,6 +236,15 @@ class e_jsmanager
"http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.1/jquery-ui.min.js",
"http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.1/themes/base/jquery-ui.css",
);
}
if(isset($_SERVER['E_DEV_LOCALJS']) && $_SERVER['E_DEV_LOCALJS'] === 'true') // Test with Local JS Framework files.
{
$this->_libraries['jquery'] = array(
"jquery/jquery.min.js"
);
}
$customJqueryUrls = e107::getPref('library-jquery-urls');