Skip to content

Commit

Permalink
add newline into min.js file #780
Browse files Browse the repository at this point in the history
  • Loading branch information
jcubic committed May 20, 2022
1 parent b6a139e commit d90930a
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 13 deletions.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ SED=sed
CD=cd
NPM=npm
CP=cp
ECHO=echo
RM=rm
CAT=cat
DATE=`date -uR`
Expand Down Expand Up @@ -41,7 +42,7 @@ js/jquery.terminal-$(VERSION).min.js: js/jquery.terminal.min.js
$(CP) js/jquery.terminal.min.js js/jquery.terminal-$(VERSION).min.js

js/jquery.terminal.min.js js/jquery.terminal.min.js.map: js/jquery.terminal-$(VERSION).js
$(CD) js && $(UGLIFY) -o jquery.terminal.min.js --comments --mangle --source-map "includeSources,url='jquery.terminal.min.js.map'" -- jquery.terminal.js
$(CD) js && $(UGLIFY) -o jquery.terminal.min.js --comments --mangle --source-map "includeSources,url='jquery.terminal.min.js.map'" -- jquery.terminal.js && $(ECHO) >> jquery.terminal.min.js

css/jquery.terminal-$(VERSION).css: css/jquery.terminal-src.css .$(VERSION)
$(GIT) branch | grep '* devel' > /dev/null && $(SED) -e "s/{{VER}}/DEV/g" -e "s/{{DATE}}/$(DATE)/g" css/jquery.terminal-src.css > css/jquery.terminal-$(VERSION).css || $(SED) -e "s/{{VER}}/$(VERSION)/g" -e "s/{{DATE}}/$(DATE)/g" css/jquery.terminal-src.css > css/jquery.terminal-$(VERSION).css
Expand Down
4 changes: 2 additions & 2 deletions js/jquery.terminal-2.33.2.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
*
* broken image by Sophia Bai from the Noun Project (CC-BY)
*
* Date: Fri, 13 May 2022 10:47:21 +0000
* Date: Fri, 20 May 2022 15:37:49 +0000
*/
/* global define, Map */
/* eslint-disable */
Expand Down Expand Up @@ -5195,7 +5195,7 @@
// -------------------------------------------------------------------------
$.terminal = {
version: '2.33.2',
date: 'Fri, 13 May 2022 10:47:21 +0000',
date: 'Fri, 20 May 2022 15:37:49 +0000',
// colors from https://www.w3.org/wiki/CSS/Properties/color/keywords
color_names: [
'transparent', 'currentcolor', 'black', 'silver', 'gray', 'white',
Expand Down
6 changes: 3 additions & 3 deletions js/jquery.terminal-2.33.2.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/jquery.terminal.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
*
* broken image by Sophia Bai from the Noun Project (CC-BY)
*
* Date: Fri, 13 May 2022 10:47:21 +0000
* Date: Fri, 20 May 2022 15:37:49 +0000
*/
/* global define, Map */
/* eslint-disable */
Expand Down Expand Up @@ -5195,7 +5195,7 @@
// -------------------------------------------------------------------------
$.terminal = {
version: '2.33.2',
date: 'Fri, 13 May 2022 10:47:21 +0000',
date: 'Fri, 20 May 2022 15:37:49 +0000',
// colors from https://www.w3.org/wiki/CSS/Properties/color/keywords
color_names: [
'transparent', 'currentcolor', 'black', 'silver', 'gray', 'white',
Expand Down
6 changes: 3 additions & 3 deletions js/jquery.terminal.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/jquery.terminal.min.js.map

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion templates/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ SED=sed
CD=cd
NPM=npm
CP=cp
ECHO=echo
RM=rm
CAT=cat
DATE=`date -uR`
Expand Down Expand Up @@ -41,7 +42,7 @@ js/jquery.terminal-$(VERSION).min.js: js/jquery.terminal.min.js
$(CP) js/jquery.terminal.min.js js/jquery.terminal-$(VERSION).min.js

js/jquery.terminal.min.js js/jquery.terminal.min.js.map: js/jquery.terminal-$(VERSION).js
$(CD) js && $(UGLIFY) -o jquery.terminal.min.js --comments --mangle --source-map "includeSources,url='jquery.terminal.min.js.map'" -- jquery.terminal.js
$(CD) js && $(UGLIFY) -o jquery.terminal.min.js --comments --mangle --source-map "includeSources,url='jquery.terminal.min.js.map'" -- jquery.terminal.js && $(ECHO) >> jquery.terminal.min.js

css/jquery.terminal-$(VERSION).css: css/jquery.terminal-src.css .$(VERSION)
$(GIT) branch | grep '* devel' > /dev/null && $(SED) -e "s/{{VER}}/DEV/g" -e "s/{{DATE}}/$(DATE)/g" css/jquery.terminal-src.css > css/jquery.terminal-$(VERSION).css || $(SED) -e "s/{{VER}}/$(VERSION)/g" -e "s/{{DATE}}/$(DATE)/g" css/jquery.terminal-src.css > css/jquery.terminal-$(VERSION).css
Expand Down

0 comments on commit d90930a

Please sign in to comment.