@explorable-viz/fluid 0.7.98 → 0.7.99

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@explorable-viz/fluid",
3
- "version": "0.7.98",
3
+ "version": "0.7.99",
4
4
  "description": "Fluid is an experimental programming language which integrates a bidirectional dynamic analysis to connect outputs to data sources in a fine-grained way. Fluid is implemented in PureScript and runs in the browser.",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -3,12 +3,6 @@ set -xeu
3
3
 
4
4
  PREFIX=""
5
5
 
6
- while getopts "l" opt; do
7
- case $opt in
8
- l) PREFIX=node_modules/@explorable-viz/fluid;;
9
- esac
10
- done
11
-
12
6
  WEBSITE="$1"
13
7
  if [ -z "$WEBSITE" ]; then
14
8
  echo "Usage: $0 [-l] <website-name>" >&2
@@ -20,7 +14,7 @@ if [ ! -d "website/$WEBSITE" ]; then
20
14
  exit 1
21
15
  fi
22
16
 
23
- if [[ "$0" == "node/modules/"* ]]; then
17
+ if [[ "${BASH_SOURCE[0]}" == *"/node_modules/"* ]]; then
24
18
  PREFIX="node_modules/@explorable-viz/fluid/"
25
19
  fi
26
20