Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
F
flot
Project
Project
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
HS-public
flot
Commits
e1684b46
Commit
e1684b46
authored
May 27, 2013
by
David Schnur
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove trailing white-space.
parent
68337794
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
66 additions
and
66 deletions
+66
-66
jquery.colorhelpers.js
jquery.colorhelpers.js
+9
-9
jquery.flot.categories.js
jquery.flot.categories.js
+12
-12
jquery.flot.crosshair.js
jquery.flot.crosshair.js
+9
-9
jquery.flot.image.js
jquery.flot.image.js
+15
-15
jquery.flot.navigate.js
jquery.flot.navigate.js
+21
-21
No files found.
jquery.colorhelpers.js
View file @
e1684b46
jquery.flot.categories.js
View file @
e1684b46
jquery.flot.crosshair.js
View file @
e1684b46
jquery.flot.image.js
View file @
e1684b46
jquery.flot.navigate.js
View file @
e1684b46
...
@@ -87,7 +87,7 @@ can set the default in the options.
...
@@ -87,7 +87,7 @@ can set the default in the options.
jquery.event.drag.js ~ v1.5 ~ Copyright (c) 2008, Three Dub Media (http://threedubmedia.com)
jquery.event.drag.js ~ v1.5 ~ Copyright (c) 2008, Three Dub Media (http://threedubmedia.com)
Licensed under the MIT License ~ http://threedubmedia.googlecode.com/files/MIT-LICENSE.txt
Licensed under the MIT License ~ http://threedubmedia.googlecode.com/files/MIT-LICENSE.txt
*/
*/
(
function
(
a
){
function
e
(
h
){
var
k
,
j
=
this
,
l
=
h
.
data
||
{};
if
(
l
.
elem
)
j
=
h
.
dragTarget
=
l
.
elem
,
h
.
dragProxy
=
d
.
proxy
||
j
,
h
.
cursorOffsetX
=
l
.
pageX
-
l
.
left
,
h
.
cursorOffsetY
=
l
.
pageY
-
l
.
top
,
h
.
offsetX
=
h
.
pageX
-
h
.
cursorOffsetX
,
h
.
offsetY
=
h
.
pageY
-
h
.
cursorOffsetY
;
else
if
(
d
.
dragging
||
l
.
which
>
0
&&
h
.
which
!=
l
.
which
||
a
(
h
.
target
).
is
(
l
.
not
))
return
;
switch
(
h
.
type
){
case
"mousedown"
:
return
a
.
extend
(
l
,
a
(
j
).
offset
(),{
elem
:
j
,
target
:
h
.
target
,
pageX
:
h
.
pageX
,
pageY
:
h
.
pageY
}),
b
.
add
(
document
,
"mousemove mouseup"
,
e
,
l
),
i
(
j
,
!
1
),
d
.
dragging
=
null
,
!
1
;
case
!
d
.
dragging
&&
"mousemove"
:
if
(
g
(
h
.
pageX
-
l
.
pageX
)
+
g
(
h
.
pageY
-
l
.
pageY
)
<
l
.
distance
)
break
;
h
.
target
=
l
.
target
,
k
=
f
(
h
,
"dragstart"
,
j
),
k
!==!
1
&&
(
d
.
dragging
=
j
,
d
.
proxy
=
h
.
dragProxy
=
a
(
k
||
j
)[
0
]);
case
"mousemove"
:
if
(
d
.
dragging
){
if
(
k
=
f
(
h
,
"drag"
,
j
),
c
.
drop
&&
(
c
.
drop
.
allowed
=
k
!==!
1
,
c
.
drop
.
handler
(
h
)),
k
!==!
1
)
break
;
h
.
type
=
"mouseup"
}
case
"mouseup"
:
b
.
remove
(
document
,
"mousemove mouseup"
,
e
),
d
.
dragging
&&
(
c
.
drop
&&
c
.
drop
.
handler
(
h
),
f
(
h
,
"dragend"
,
j
)),
i
(
j
,
!
0
),
d
.
dragging
=
d
.
proxy
=
l
.
elem
=!
1
}
return
!
0
}
function
f
(
b
,
c
,
d
){
b
.
type
=
c
;
var
e
=
a
.
event
.
dispatch
.
call
(
d
,
b
);
return
e
===!
1
?
!
1
:
e
||
b
.
result
}
function
g
(
a
){
return
Math
.
pow
(
a
,
2
)}
function
h
(){
return
d
.
dragging
===!
1
}
function
i
(
a
,
b
){
a
&&
(
a
.
unselectable
=
b
?
"off"
:
"on"
,
a
.
onselectstart
=
function
(){
return
b
},
a
.
style
&&
(
a
.
style
.
MozUserSelect
=
b
?
""
:
"none"
))}
a
.
fn
.
drag
=
function
(
a
,
b
,
c
){
return
b
&&
this
.
bind
(
"dragstart"
,
a
),
c
&&
this
.
bind
(
"dragend"
,
c
),
a
?
this
.
bind
(
"drag"
,
b
?
b
:
a
):
this
.
trigger
(
"drag"
)};
var
b
=
a
.
event
,
c
=
b
.
special
,
d
=
c
.
drag
=
{
not
:
":input"
,
distance
:
0
,
which
:
1
,
dragging
:
!
1
,
setup
:
function
(
c
){
c
=
a
.
extend
({
distance
:
d
.
distance
,
which
:
d
.
which
,
not
:
d
.
not
},
c
||
{}),
c
.
distance
=
g
(
c
.
distance
),
b
.
add
(
this
,
"mousedown"
,
e
,
c
),
this
.
attachEvent
&&
this
.
attachEvent
(
"ondragstart"
,
h
)},
teardown
:
function
(){
b
.
remove
(
this
,
"mousedown"
,
e
),
this
===
d
.
dragging
&&
(
d
.
dragging
=
d
.
proxy
=!
1
),
i
(
this
,
!
0
),
this
.
detachEvent
&&
this
.
detachEvent
(
"ondragstart"
,
h
)}};
c
.
dragstart
=
c
.
dragend
=
{
setup
:
function
(){},
teardown
:
function
(){}}})(
jQuery
);
//
(function(a){function e(h){var k,j=this,l=h.data||{};if(l.elem)j=h.dragTarget=l.elem,h.dragProxy=d.proxy||j,h.cursorOffsetX=l.pageX-l.left,h.cursorOffsetY=l.pageY-l.top,h.offsetX=h.pageX-h.cursorOffsetX,h.offsetY=h.pageY-h.cursorOffsetY;else if(d.dragging||l.which>0&&h.which!=l.which||a(h.target).is(l.not))return;switch(h.type){case"mousedown":return a.extend(l,a(j).offset(),{elem:j,target:h.target,pageX:h.pageX,pageY:h.pageY}),b.add(document,"mousemove mouseup",e,l),i(j,!1),d.dragging=null,!1;case!d.dragging&&"mousemove":if(g(h.pageX-l.pageX)+g(h.pageY-l.pageY)<l.distance)break;h.target=l.target,k=f(h,"dragstart",j),k!==!1&&(d.dragging=j,d.proxy=h.dragProxy=a(k||j)[0]);case"mousemove":if(d.dragging){if(k=f(h,"drag",j),c.drop&&(c.drop.allowed=k!==!1,c.drop.handler(h)),k!==!1)break;h.type="mouseup"}case"mouseup":b.remove(document,"mousemove mouseup",e),d.dragging&&(c.drop&&c.drop.handler(h),f(h,"dragend",j)),i(j,!0),d.dragging=d.proxy=l.elem=!1}return!0}function f(b,c,d){b.type=c;var e=a.event.dispatch.call(d,b);return e===!1?!1:e||b.result}function g(a){return Math.pow(a,2)}function h(){return d.dragging===!1}function i(a,b){a&&(a.unselectable=b?"off":"on",a.onselectstart=function(){return b},a.style&&(a.style.MozUserSelect=b?"":"none"))}a.fn.drag=function(a,b,c){return b&&this.bind("dragstart",a),c&&this.bind("dragend",c),a?this.bind("drag",b?b:a):this.trigger("drag")};var b=a.event,c=b.special,d=c.drag={not:":input",distance:0,which:1,dragging:!1,setup:function(c){c=a.extend({distance:d.distance,which:d.which,not:d.not},c||{}),c.distance=g(c.distance),b.add(this,"mousedown",e,c),this.attachEvent&&this.attachEvent("ondragstart",h)},teardown:function(){b.remove(this,"mousedown",e),this===d.dragging&&(d.dragging=d.proxy=!1),i(this,!0),this.detachEvent&&this.detachEvent("ondragstart",h)}};c.dragstart=c.dragend={setup:function(){},teardown:function(){}}})(jQuery);
/* jquery.mousewheel.min.js
/* jquery.mousewheel.min.js
* Copyright (c) 2011 Brandon Aaron (http://brandonaaron.net)
* Copyright (c) 2011 Brandon Aaron (http://brandonaaron.net)
...
@@ -100,7 +100,7 @@ Licensed under the MIT License ~ http://threedubmedia.googlecode.com/files/MIT-L
...
@@ -100,7 +100,7 @@ Licensed under the MIT License ~ http://threedubmedia.googlecode.com/files/MIT-L
*
*
* Requires: 1.2.2+
* Requires: 1.2.2+
*/
*/
(
function
(
d
){
function
e
(
a
){
var
b
=
a
||
window
.
event
,
c
=
[].
slice
.
call
(
arguments
,
1
),
f
=
0
,
e
=
0
,
g
=
0
,
a
=
d
.
event
.
fix
(
b
);
a
.
type
=
"mousewheel"
;
b
.
wheelDelta
&&
(
f
=
b
.
wheelDelta
/
120
);
b
.
detail
&&
(
f
=-
b
.
detail
/
3
);
g
=
f
;
void
0
!==
b
.
axis
&&
b
.
axis
===
b
.
HORIZONTAL_AXIS
&&
(
g
=
0
,
e
=-
1
*
f
);
void
0
!==
b
.
wheelDeltaY
&&
(
g
=
b
.
wheelDeltaY
/
120
);
void
0
!==
b
.
wheelDeltaX
&&
(
e
=-
1
*
b
.
wheelDeltaX
/
120
);
c
.
unshift
(
a
,
f
,
e
,
g
);
return
(
d
.
event
.
dispatch
||
d
.
event
.
handle
).
apply
(
this
,
c
)}
var
c
=
[
"DOMMouseScroll"
,
"mousewheel"
];
if
(
d
.
event
.
fixHooks
)
for
(
var
h
=
c
.
length
;
h
;)
d
.
event
.
fixHooks
[
c
[
--
h
]]
=
d
.
event
.
mouseHooks
;
d
.
event
.
special
.
mousewheel
=
{
setup
:
function
(){
if
(
this
.
addEventListener
)
for
(
var
a
=
c
.
length
;
a
;)
this
.
addEventListener
(
c
[
--
a
],
e
,
!
1
);
else
this
.
onmousewheel
=
e
},
teardown
:
function
(){
if
(
this
.
removeEventListener
)
for
(
var
a
=
c
.
length
;
a
;)
this
.
removeEventListener
(
c
[
--
a
],
e
,
!
1
);
else
this
.
onmousewheel
=
null
}};
d
.
fn
.
extend
({
mousewheel
:
function
(
a
){
return
a
?
this
.
bind
(
"mousewheel"
,
a
):
this
.
trigger
(
"mousewheel"
)},
unmousewheel
:
function
(
a
){
return
this
.
unbind
(
"mousewheel"
,
a
)}})})(
jQuery
);
//
(function(d){function e(a){var b=a||window.event,c=[].slice.call(arguments,1),f=0,e=0,g=0,a=d.event.fix(b);a.type="mousewheel";b.wheelDelta&&(f=b.wheelDelta/120);b.detail&&(f=-b.detail/3);g=f;void 0!==b.axis&&b.axis===b.HORIZONTAL_AXIS&&(g=0,e=-1*f);void 0!==b.wheelDeltaY&&(g=b.wheelDeltaY/120);void 0!==b.wheelDeltaX&&(e=-1*b.wheelDeltaX/120);c.unshift(a,f,e,g);return(d.event.dispatch||d.event.handle).apply(this,c)}var c=["DOMMouseScroll","mousewheel"];if(d.event.fixHooks)for(var h=c.length;h;)d.event.fixHooks[c[--h]]=d.event.mouseHooks;d.event.special.mousewheel={setup:function(){if(this.addEventListener)for(var a=c.length;a;)this.addEventListener(c[--a],e,!1);else this.onmousewheel=e},teardown:function(){if(this.removeEventListener)for(var a=c.length;a;)this.removeEventListener(c[--a],e,!1);else this.onmousewheel=null}};d.fn.extend({mousewheel:function(a){return a?this.bind("mousewheel",a):this.trigger("mousewheel")},unmousewheel:function(a){return this.unbind("mousewheel",a)}})})(jQuery);
...
...
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