https://github.com/anthonyshort/event-splitter
Split Backbone-style event strings 'click .foo > ul'
https://github.com/anthonyshort/event-splitter
Last synced: 3 months ago
JSON representation
Split Backbone-style event strings 'click .foo > ul'
- Host: GitHub
- URL: https://github.com/anthonyshort/event-splitter
- Owner: anthonyshort
- Created: 2013-02-16T05:16:57.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-02-16T05:37:18.000Z (over 12 years ago)
- Last Synced: 2025-01-30T21:29:55.618Z (5 months ago)
- Language: JavaScript
- Homepage:
- Size: 133 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# event-splitter
Split Backbone-style event strings 'click .foo > ul'
## Installation
$ component install anthonyshort/event-splitter
## API
var splitEvent = require('event-splitter');
var event = splitEvent('click .foo > ul');
event.name # click
event.selector # .foo > ul## License
MIT