aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/js.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/js.sh')
-rw-r--r--scripts/js.sh18
1 files changed, 1 insertions, 17 deletions
diff --git a/scripts/js.sh b/scripts/js.sh
index 3a2af3c..ea5bbf0 100644
--- a/scripts/js.sh
+++ b/scripts/js.sh
@@ -1,22 +1,6 @@
#!/bin/bash
#
-run_navbar()
-{
- local _name="${1-navbar-burger}"
- local _dir="${2-$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)}"
- local _target="${_dir%/*}" # deleted slash
- local _src="${_target%scripts}/src/js/${_name}.js" # input
- local _dest="${_target%scripts}/dist/js/" # output
-
- if [[ -n "${_src}" ]];
- then
- mkdir -p "${_dest}"
- cp -fv "${_src}" "${_dest}"
- fi
-
-}
-
run_aplaylist()
{
local _name="${1-aplaylist}"
@@ -36,4 +20,4 @@ run_aplaylist()
# ==============================================================================
# EXECUTION - START
# ==============================================================================
-run_navbar "$@" && run_aplaylist "$@"
+run_aplaylist "$@"