Skip to content
This repository has been archived by the owner on Sep 28, 2020. It is now read-only.

Commit

Permalink
Major overhaul of events and code style
Browse files Browse the repository at this point in the history
Rename some events, add 2 new events:
`tokenfield:preparetoken` => `tokenfield:createtoken`
`tokenfield:createtoken`   => `tokenfield:createdtoken`
New: `tokenfield:editedtoken` and `tokenfield:removedtoken`

Allow preventing default in `removetoken` event - prevents token
from being removed.

Rename `event.token` to `event.attrs` to clear up confusion.

Use `$` on all variables that are jQuery objects to clear up more confusion.
  • Loading branch information
ragulka committed Apr 26, 2014
1 parent 5b6de89 commit 0d3d4f2
Show file tree
Hide file tree
Showing 6 changed files with 430 additions and 337 deletions.
Loading

0 comments on commit 0d3d4f2

Please sign in to comment.