Commit b1f39a55 by Jonathan Piacenti

Reordering of constants for better readability in JS.

parent aa64fac5
......@@ -12,6 +12,9 @@ function DragAndDropBlock(runtime, element, configuration) {
var state = undefined;
var __vdom = virtualDom.h(); // blank virtual DOM
// Event string size limit.
var MAX_LENGTH = 255;
// Keyboard accessibility
var ESC = 27;
var RET = 13;
......@@ -19,9 +22,6 @@ function DragAndDropBlock(runtime, element, configuration) {
var TAB = 9;
var M = 77;
// Event string size limit.
var MAX_LENGTH = 255;
var placementMode = false;
var $selectedItem;
var $focusedElement;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment