Skip to content

Commit

Permalink
Aligned license statement for javascripts with general license statement
Browse files Browse the repository at this point in the history
  • Loading branch information
doxygen committed Jan 31, 2019
1 parent afc7721 commit ce724cd
Show file tree
Hide file tree
Showing 24 changed files with 112 additions and 14,268 deletions.
40 changes: 14 additions & 26 deletions jquery/Makefile
@@ -1,34 +1,27 @@
JQUERY_VERSION = 1.7.2
JQUERY_UI_VERSION = 1.8.18
HASHCHANGE_VERSION = 1.3
SCROLL_VERSION = 1.4.2
POWERTIP_VERSION = 1.2.0
JQUERY_VERSION = 3.3.1
JQUERY_UI_VERSION = 1.12.1
SCROLL_VERSION = 2.1.2
POWERTIP_VERSION = 1.3.1
TOUCHPUNCH_VERSION = 0.2.3
SMARTMENUS_VERSION = 1.0.0
SMARTMENUS_VERSION = 1.1.0

MINIFIER ?= /usr/local/bin/yuicompressor-2.4.7
SCRIPTS = jquery-$(JQUERY_VERSION).js \
jquery.ui-$(JQUERY_UI_VERSION).core.js \
jquery.ui-$(JQUERY_UI_VERSION).widget.js \
jquery.ui-$(JQUERY_UI_VERSION).mouse.js \
jquery.ui-$(JQUERY_UI_VERSION).resizable.js \
jquery.ba-$(HASHCHANGE_VERSION)-hashchange.js \
jquery.scrollTo-$(SCROLL_VERSION).js \
jquery.powertip-$(POWERTIP_VERSION).js \
jquery.ui-$(TOUCHPUNCH_VERSION).touch-punch.js \
jquery.smartmenus-$(SMARTMENUS_VERSION).js
SCRIPTS = jquery-$(JQUERY_VERSION).min.js \
jquery.ui-$(JQUERY_UI_VERSION).min.js \
jquery.scrollTo-$(SCROLL_VERSION).min.js \
jquery.powertip-$(POWERTIP_VERSION).min.js \
jquery.ui.touch-punch-$(TOUCHPUNCH_VERSION).min.js \
jquery.smartmenus-$(SMARTMENUS_VERSION).min.js
RESULTS = jquery.js doxmenu-min.css

SCRIPTS_MIN = $(SCRIPTS:%.js=%-min.js)

all: $(RESULTS)

install: $(RESULTS)
cp jquery.js ../templates/html/jquery.js
cp doxmenu-min.css ../templates/html/tabs.css

jquery.js: $(SCRIPTS_MIN)
cat $(SCRIPTS_MIN) > jquery.js
jquery.js: $(SCRIPTS)
cat $(SCRIPTS) > jquery.js

doxmenu-min.css: sm-core-css.css \
sass/sm-dox.scss \
Expand All @@ -40,11 +33,6 @@ doxmenu-min.css: sm-core-css.css \
java -jar $(MINIFIER).jar doxmenu.css > doxmenu-min.css
rm -f sm-dox.css doxmenu.css

scripts: $(SCRIPTS_MIN)

clean:
rm -rf $(SCRIPTS_MIN) $(RESULTS) doxmenu.css .sass-cache jquery.js

%-min.js: %.js
java -jar $(MINIFIER).jar $^ > $@
rm -rf $(RESULTS) doxmenu.css .sass-cache

20 changes: 9 additions & 11 deletions jquery/README
@@ -1,16 +1,14 @@
Doxygen's jquery.js script is composed of minified versions of the following
packages:
- jquery 1.7.1: https://jquery.com/download/
- jquery.ui 1.8.18: https://github.com/jquery/jquery-ui
- jquery 3.3.1: https://jquery.com/download/
- jquery.ui 1.12.1: https://github.com/jquery/jquery-ui
modules required:
- jquery.ui.core
- jquery.ui.widget
- jquery.ui.mouse
- jquery.ui.resizable
- jquery.hashchange: 1.3: http://benalman.com/projects/jquery-hashchange-plugin/
- jquery.scrollTo: 1.4.2: https://github.com/flesler/jquery.scrollTo
- jquery.powertip: 1.2.0: https://stevenbenner.github.io/jquery-powertip/
- jquery.touchpunch: 0.2.3: http://touchpunch.furf.com/
- jquery.smartmenus: 1.0.0: https://www.smartmenus.org/
- jquery.ui.core all
- jquery.ui.interactions resizable
- jquery.ui.widgets mouse
- jquery.scrollTo: 2.1.2: https://github.com/flesler/jquery.scrollTo
- jquery.powertip: 1.3.1: https://stevenbenner.github.io/jquery-powertip/
- jquery.touchpunch: 0.2.3: http://touchpunch.furf.com/ + fix for issue 303
- jquery.smartmenus: 1.1.0: https://www.smartmenus.org/

The Makefile will built the jquery.js files used by doxygen.

0 comments on commit ce724cd

Please sign in to comment.