GitXplorerGitXplorer
k

backbone.jwerty

public
8 stars
2 forks
0 issues

Commits

List of commits on branch master.
Unverified
d0663f72b9bbc35abb93b61a3461032d444ff05c

Remove debug code

kkossnocorp committed 12 years ago
Unverified
5697bed58bc9556021d19c05242035b4f95a1f72

Fix few bugs

kkossnocorp committed 12 years ago
Unverified
82ffd636595c580454cdefb0c56e77373891ea3c

Dummy README

kkossnocorp committed 12 years ago
Unverified
ed567166a9da4e07bb3adb2995e777260d96ac89

Allow to delegate key events to selector

kkossnocorp committed 12 years ago
Unverified
870dfdf874176bf7af22f8c93875dfe7253b1db6

Undelegate keyboard events

kkossnocorp committed 12 years ago
Unverified
5e54314e22d8aa70b4e459bdc765811c3656d47b

Hello cruel world!

kkossnocorp committed 12 years ago

README

The README file for this repository.

jwerty integrated into Backbone.js events

Build Status

var InlineField = Backbone.View.extend({

  events: {
    '<esc> input':   'cancel',
    '<enter> input': 'save'
  },

  cancel: function () { /* ... */ },

  save: function () { /* ... */ }
});

More info coming soon.

API

#delegateKeyboardEvents()

Delegates keyboard events. Accept events map as first argument.

view.delegateKeyboardEvents({ '<esc> input': 'cancel', '<enter> input': 'save' });

Roadmap

See milestones.

Changelog

This project uses Semantic Versioning for release numbering.

v0.1.0 (unreleased)

First, initial release.

Behind the code

Initially sponsored by Toptal.

Idea and code by @kossnocorp.

Check out full list of contributors.

This project is a member of the OSS Manifesto.

License

The MIT License

Copyright (c) 2013 Sasha Koss

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.