From 6fcfb7c04d32e1c8b26a312295bf7ac3ec2d2ad7 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Fri, 13 Jul 2018 19:06:45 +0200 Subject: Fixed many permissions and began admin interface --- public/bower_components/jvectormap/build.sh | 61 +++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100755 public/bower_components/jvectormap/build.sh (limited to 'public/bower_components/jvectormap/build.sh') diff --git a/public/bower_components/jvectormap/build.sh b/public/bower_components/jvectormap/build.sh new file mode 100755 index 0000000..c8ea5ed --- /dev/null +++ b/public/bower_components/jvectormap/build.sh @@ -0,0 +1,61 @@ +#!/bin/bash + +files=( \ + jquery-jvectormap.js \ + lib/jquery-mousewheel.js \ + src/jvectormap.js \ + src/abstract-element.js \ + src/abstract-canvas-element.js \ + src/abstract-shape-element.js \ + src/svg-element.js \ + src/svg-group-element.js \ + src/svg-canvas-element.js \ + src/svg-shape-element.js \ + src/svg-path-element.js \ + src/svg-circle-element.js \ + src/svg-image-element.js \ + src/svg-text-element.js \ + src/vml-element.js \ + src/vml-group-element.js \ + src/vml-canvas-element.js \ + src/vml-shape-element.js \ + src/vml-path-element.js \ + src/vml-circle-element.js \ + src/vector-canvas.js \ + src/simple-scale.js \ + src/ordinal-scale.js \ + src/numeric-scale.js \ + src/color-scale.js \ + src/legend.js \ + src/data-series.js \ + src/proj.js \ + src/map-object.js \ + src/region.js \ + src/marker.js \ + src/map.js \ + src/multimap.js \ +) + +baseDir=`dirname $0` + +counter=0 +while [ $counter -lt ${#files[@]} ]; do + files[$counter]="$baseDir/${files[$counter]}" + let counter=counter+1 +done + +if [ -z "$1" ] + then + minified=jquery.jvectormap.min.js + else + minified=$1 +fi + +if [ -a $minified ] + then + rm $minified +fi + +cat ${files[*]} >> $minified + +uglifyjs $minified -o $minified -c \ No newline at end of file -- cgit v1.2.3