Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
MUR Drupal
d3-library
Commits
d3bad29f
Commit
d3bad29f
authored
Apr 18, 2012
by
Mike Bostock
Browse files
Fix background events for d3.svg.brush.
This reverts previous IE9 fixes to @
4f552825
.
parent
907c5a50
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
d3.v2.js
View file @
d3bad29f
...
...
@@ -10,7 +10,7 @@ try {
d3_style_setProperty
.
call
(
this
,
name
,
value
+
""
,
priority
);
};
}
d3
=
{
version
:
"
2.9.
0
"
};
// semver
d3
=
{
version
:
"
2.9.
1
"
};
// semver
function
d3_class
(
ctor
,
properties
)
{
try
{
for
(
var
key
in
properties
)
{
...
...
@@ -4404,7 +4404,6 @@ d3.svg.brush = function() {
// Propagate the active cursor to the body for the drag duration.
g
.
style
(
"
pointer-events
"
,
"
none
"
).
selectAll
(
"
.resize
"
).
style
(
"
display
"
,
null
);
g
.
select
(
"
.background
"
).
style
(
"
display
"
,
"
none
"
);
// workaround for IE9 bug
d3
.
select
(
"
body
"
).
style
(
"
cursor
"
,
eventTarget
.
style
(
"
cursor
"
));
// Notify listeners.
...
...
@@ -4529,7 +4528,6 @@ d3.svg.brush = function() {
// reset the cursor styles
g
.
style
(
"
pointer-events
"
,
"
all
"
).
selectAll
(
"
.resize
"
).
style
(
"
display
"
,
brush
.
empty
()
?
"
none
"
:
null
);
g
.
select
(
"
.background
"
).
style
(
"
display
"
,
null
);
// workaround for IE9 bug
d3
.
select
(
"
body
"
).
style
(
"
cursor
"
,
null
);
w
.
on
(
"
mousemove.brush
"
,
null
)
...
...
d3.v2.min.js
View file @
d3bad29f
This diff is collapsed.
Click to expand it.
package.json
View file @
d3bad29f
{
"name"
:
"d3"
,
"version"
:
"2.9.
0
"
,
"version"
:
"2.9.
1
"
,
"description"
:
"A small, free JavaScript library for manipulating documents based on data."
,
"keywords"
:
[
"dom"
,
...
...
src/core/core.js
View file @
d3bad29f
d3
=
{
version
:
"
2.9.
0
"
};
// semver
d3
=
{
version
:
"
2.9.
1
"
};
// semver
src/svg/brush.js
View file @
d3bad29f
...
...
@@ -123,7 +123,6 @@ d3.svg.brush = function() {
// Propagate the active cursor to the body for the drag duration.
g
.
style
(
"
pointer-events
"
,
"
none
"
).
selectAll
(
"
.resize
"
).
style
(
"
display
"
,
null
);
g
.
select
(
"
.background
"
).
style
(
"
display
"
,
"
none
"
);
// workaround for IE9 bug
d3
.
select
(
"
body
"
).
style
(
"
cursor
"
,
eventTarget
.
style
(
"
cursor
"
));
// Notify listeners.
...
...
@@ -248,7 +247,6 @@ d3.svg.brush = function() {
// reset the cursor styles
g
.
style
(
"
pointer-events
"
,
"
all
"
).
selectAll
(
"
.resize
"
).
style
(
"
display
"
,
brush
.
empty
()
?
"
none
"
:
null
);
g
.
select
(
"
.background
"
).
style
(
"
display
"
,
null
);
// workaround for IE9 bug
d3
.
select
(
"
body
"
).
style
(
"
cursor
"
,
null
);
w
.
on
(
"
mousemove.brush
"
,
null
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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