MCPcopy Index your code
hub / github.com/ccampbell/gator

github.com/ccampbell/gator @1.2.4

Chat with this repo
repository ↗ · DeepWiki ↗ · release 1.2.4 ↗ · + Follow
19 symbols 32 edges 4 files 4 documented · 21%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Gator

Gator is a Javascript event delegation library.

It is around 800 bytes when gzipped and minified and has no external dependencies.

Browser Support

Out of the box Gator works in - Chrome - Safari 5+ - Firefox 3.6+ - Internet Explorer 9+

The legacy.js plugin adds support for - Safari < 5 - Firefox < 3.6 - Internet Explorer 6, 7, 8

When using the legacy plugin only single classes, single ids, and single tag names are supported for selectors

Getting Started

  1. Include gator on your page before the closing </body> tag

    html <script src="https://github.com/ccampbell/gator/raw/1.2.4/path/to/gator.min.js"></script>

  2. Add some events

    ```html ```

Documentation

Full documentation is available at http://craig.is/riding/gators

Core symbols most depended-on inside this repo

_getMatcher
called by 1
gator.js
_matchesSelector
called by 1
gator.js
_addHandler
called by 1
gator.js
_removeHandler
called by 1
gator.js
_handleEvent
called by 1
gator.js
_getGlobalCallback
called by 1
gator.js
_isMouseEnterOrLeave
called by 1
plugins/gator-mouse.js
_addEvent
called by 0
gator.js

Shape

Function 19

Languages

TypeScript100%

Modules by API surface

gator.js10 symbols
gator.min.js8 symbols
plugins/gator-mouse.js1 symbols

For agents

$ claude mcp add gator \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact