/dap-asset-jquery

A DirectAdmin plugin providing panel-wide access to jQuery in plugins and skins. Use this plugin when your other plugins and|or skins require jQuery.

Primary LanguageShellMIT LicenseMIT

DirectAdmin plugin Asset - jQuery

A DirectAdmin plugin providing panel-wide access to jQuery in plugins and skins. Use this plugin when your other plugins and|or skins require jQuery.

Building

Building with Ant

git clone https://github.com/websafe/dap-asset-jquery.git
cd dap-asset-jquery
ant clean
ant setup
ant build
sudo ant release

Building without Ant

git clone https://github.com/websafe/dap-asset-jquery.git
cd dap-asset-jquery
npm install
node_modules/.bin/bower update
node_modules/.bin/grunt

Using in plugins and skins

Embed jQuery 2.x:

<script src="/CMD_PLUGINS/websafe-dap-asset-jquery/jquery.raw"></script>

Embed jQuery 1.x:

<script src="/CMD_PLUGINS/websafe-dap-asset-jquery/jquery.raw?version=legacy"></script>

Directadmin is a registered trademark of JBMC Software.