Tip: Click lines to highlight, hold ctrl/cmd to multi-select
http://codedumper.com/inayo (2-Aug @ 12:57)
Syntax Highlighted Code
- // Keep track of the direction of the drag for use during onDragOver
- var y = Event.getPageY(e);
- if (y < this.lastY) {
- this.goingUp = true;
- } else if (y > this.lastY) {
- this.goingUp = false;
- }
- this.lastY = y;
Plain Code
// Keep track of the direction of the drag for use during onDragOver
var y = Event.getPageY(e);
if (y < this.lastY) {
this.goingUp = true;
} else if (y > this.lastY) {
this.goingUp = false;
}
this.lastY = y;