Skip to content

Instantly share code, notes, and snippets.

View catrope's full-sized avatar

Roan Kattouw catrope

  • Wikimedia Foundation
  • San Francisco, CA
View GitHub Profile
# Execute this in the root of the ve repo
# Find and replace script symbols
find . -name \*.js -exec sed -i \
-e 's/ContextMenuWidget/ContextSelectWidget/g' \
-e 's/ContextItemWidget/ContextOptionWidget/g' \
-e 's/TextInputMenuWidget/TextInputMenuSelectWidget/g' \
-e 's/MenuWidget/MenuSelectWidget/g' \
-e 's/MenuItemWidget/MenuOptionWidget/g' \
-e 's/MenuSectionItemWidget/MenuSectionOptionWidget/g' \