Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xblock-drag-and-drop-v2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
xblock-drag-and-drop-v2
Commits
b1f39a55
Commit
b1f39a55
authored
Jan 18, 2016
by
Jonathan Piacenti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reordering of constants for better readability in JS.
parent
aa64fac5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
drag_and_drop_v2/public/js/drag_and_drop.js
+3
-3
No files found.
drag_and_drop_v2/public/js/drag_and_drop.js
View file @
b1f39a55
...
@@ -12,6 +12,9 @@ function DragAndDropBlock(runtime, element, configuration) {
...
@@ -12,6 +12,9 @@ function DragAndDropBlock(runtime, element, configuration) {
var
state
=
undefined
;
var
state
=
undefined
;
var
__vdom
=
virtualDom
.
h
();
// blank virtual DOM
var
__vdom
=
virtualDom
.
h
();
// blank virtual DOM
// Event string size limit.
var
MAX_LENGTH
=
255
;
// Keyboard accessibility
// Keyboard accessibility
var
ESC
=
27
;
var
ESC
=
27
;
var
RET
=
13
;
var
RET
=
13
;
...
@@ -19,9 +22,6 @@ function DragAndDropBlock(runtime, element, configuration) {
...
@@ -19,9 +22,6 @@ function DragAndDropBlock(runtime, element, configuration) {
var
TAB
=
9
;
var
TAB
=
9
;
var
M
=
77
;
var
M
=
77
;
// Event string size limit.
var
MAX_LENGTH
=
255
;
var
placementMode
=
false
;
var
placementMode
=
false
;
var
$selectedItem
;
var
$selectedItem
;
var
$focusedElement
;
var
$focusedElement
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment