Skip to content

Commit

Permalink
Add dist files for v0.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Lauris committed Sep 10, 2014
1 parent f0afc7d commit 7a7956d
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion bower.json
@@ -1,6 +1,6 @@
{
"name": "sensei-grid",
"version": "0.1.0",
"version": "0.1.2",
"homepage": "https://github.com/datazenit/sensei-grid",
"authors": [
"Lauris <lauris@discuss.lv>"
Expand Down
4 changes: 2 additions & 2 deletions dist/sensei-grid.css
@@ -1,5 +1,5 @@
/**
* sensei-grid v0.1.0
* sensei-grid v0.1.2
* Copyright (c) 2014 Lauris Dzilums <lauris@discuss.lv>
* Licensed under MIT
*/
Expand Down Expand Up @@ -52,7 +52,7 @@ table {
}
.sensei-grid,
.sensei-grid-editor input,
.sensei-grid-editor input {
.sensei-grid-editor select {
font: 14px Helvetica, Arial, sans-serif;
line-height: 20px;
}
Expand Down
8 changes: 4 additions & 4 deletions dist/sensei-grid.js
@@ -1,5 +1,5 @@
/**
* sensei-grid v0.1.0
* sensei-grid v0.1.2
* Copyright (c) 2014 Lauris Dzilums <lauris@discuss.lv>
* Licensed under MIT
*/
Expand Down Expand Up @@ -494,17 +494,17 @@
// specific keyCodes that won't be hijacked from the editor
var editorCodes = [8, 37, 38, 39, 40];

if ((plugin.getActiveCell().length === 0 && !plugin.isEditing) || !_.contains(codes, e.keyCode)) {
if ((plugin.getActiveCell().length === 0 && !plugin.isEditing) || !_.contains(codes, e.which)) {
return;
}

if (plugin.isEditing && _.contains(editorCodes, e.keyCode)) {
if (plugin.isEditing && _.contains(editorCodes, e.which)) {
return;
} else {
e.preventDefault();
}

switch (e.keyCode) {
switch (e.which) {
case 37: // left
plugin.move("left");
break;
Expand Down
2 changes: 1 addition & 1 deletion dist/sensei-grid.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/sensei-grid.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "sensei-grid",
"version": "0.1.0",
"version": "0.1.2",
"description": "Simple data grid in JavaScript/HTML.",
"main": "index.js",
"directories": {
Expand Down

0 comments on commit 7a7956d

Please sign in to comment.