Skip to content

Commit

Permalink
Removing inline-js dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
cytopia committed Nov 1, 2016
1 parent 9d0c86d commit 5f2908f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 53 deletions.
8 changes: 4 additions & 4 deletions bin/inline-js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ MY_FINISH_ERR="Found files with inline JS."
MY_CONF_PRE="INLINE_JS_"

# Custom required binaries
REQUIRED_CUST_BINS="aci-inline-js"
REQUIRED_CUST_BINS="grep"

# Binaries required for fixing
REQUIRED_FIX_BINS=""
Expand All @@ -38,14 +38,14 @@ DEFAULT_CUST_OPS=""
# __CUSTOM_OPT_PLACEHOLDER__
# This will be replaced either with custom options
# or with the default options.

MY_CHECK="aci-inline-js \"\$1\" || true"
MY_REG="[[:space:]]+on(abort|afterprint|beforeprint|beforeunload|blur|canplay|canplaythrough|change|click|contextmenu|copy|cuechange|cut|dblclick|drag|dragend|dragenter|dragleave|dragover|dragstart|drop|durationchange|emptied|ended|error|focus|hashchange|input|invalid|keydown|keypress|keyup|load|loadeddata|loadedmetadata|loadstart|message|mousedown|mousemove|mouseout|mouseover|mouseup|mousewheel|offline|online|pagehide|pageshow|paste|pause|play|playing|popstate|progress|ratechange|reset|resize|scroll|search|seeked|seeking|select|show|stalled|storage|submit|suspend|timeupdate|toggle|unload|volumechange|waiting|wheel)[[:space:]]*="
MY_CHECK="grep --color=always -inHE \"${MY_REG}\" \"\$1\" || true"

# Can this check fix the problems?
ENABLE_FIX=0

# Command to be displayed for --info
MY_INFO="aci-inline-js -v"
MY_INFO="grep -V | grep -E '([0-9]+\.+)+'"



Expand Down
49 changes: 0 additions & 49 deletions dependencies/aci-inline-js

This file was deleted.

0 comments on commit 5f2908f

Please sign in to comment.