Rename select_all -> selectAll.
This commit is contained in:
Родитель
018b79577a
Коммит
5d7536385d
2
Makefile
2
Makefile
|
@ -22,7 +22,7 @@ SRC_FILES = \
|
|||
src/transform_on.js \
|
||||
src/transform_filter.js \
|
||||
src/transform_select.js \
|
||||
src/transform_select_all.js \
|
||||
src/transform_selectAll.js \
|
||||
src/transform_style.js \
|
||||
src/transform_text.js \
|
||||
src/transform_transition.js \
|
||||
|
|
|
@ -751,8 +751,8 @@ function d3_transform() {
|
|||
|
||||
scope.selectAll = function(s) {
|
||||
var action = {
|
||||
impl: d3_transform_select_all,
|
||||
bind: d3_transform_select_all_bind,
|
||||
impl: d3_transform_selectAll,
|
||||
bind: d3_transform_selectAll_bind,
|
||||
selector: s,
|
||||
actions: []
|
||||
};
|
||||
|
@ -802,7 +802,7 @@ function d3_transform() {
|
|||
|
||||
transform.selectAll = function(s) {
|
||||
var action = {
|
||||
impl: d3_transform_select_all,
|
||||
impl: d3_transform_selectAll,
|
||||
selector: s,
|
||||
actions: []
|
||||
};
|
||||
|
@ -1179,7 +1179,7 @@ d3.selectAll = function(s) {
|
|||
return d3_transform().selectAll(s);
|
||||
};
|
||||
|
||||
function d3_transform_select_all(nodes, pass) {
|
||||
function d3_transform_selectAll(nodes, pass) {
|
||||
var m = nodes.length,
|
||||
s = this.selector,
|
||||
i, // the node index
|
||||
|
@ -1192,11 +1192,11 @@ function d3_transform_select_all(nodes, pass) {
|
|||
d3_transform_stack.shift();
|
||||
}
|
||||
|
||||
function d3_transform_select_all_bind(nodes, pass) {
|
||||
function d3_transform_selectAll_bind(nodes, pass) {
|
||||
var m = nodes.length,
|
||||
i, // the node index
|
||||
o; // the current node
|
||||
d3_transform_select_all.call(this, nodes, function(actions, nodes) {
|
||||
d3_transform_selectAll.call(this, nodes, function(actions, nodes) {
|
||||
pass(actions, nodes.parent.selectAll = nodes);
|
||||
});
|
||||
this.impl = function(nodes, pass) {
|
||||
|
|
|
@ -144,8 +144,8 @@ function d3_transform() {
|
|||
|
||||
scope.selectAll = function(s) {
|
||||
var action = {
|
||||
impl: d3_transform_select_all,
|
||||
bind: d3_transform_select_all_bind,
|
||||
impl: d3_transform_selectAll,
|
||||
bind: d3_transform_selectAll_bind,
|
||||
selector: s,
|
||||
actions: []
|
||||
};
|
||||
|
@ -195,7 +195,7 @@ function d3_transform() {
|
|||
|
||||
transform.selectAll = function(s) {
|
||||
var action = {
|
||||
impl: d3_transform_select_all,
|
||||
impl: d3_transform_selectAll,
|
||||
selector: s,
|
||||
actions: []
|
||||
};
|
||||
|
|
|
@ -2,7 +2,7 @@ d3.selectAll = function(s) {
|
|||
return d3_transform().selectAll(s);
|
||||
};
|
||||
|
||||
function d3_transform_select_all(nodes, pass) {
|
||||
function d3_transform_selectAll(nodes, pass) {
|
||||
var m = nodes.length,
|
||||
s = this.selector,
|
||||
i, // the node index
|
||||
|
@ -15,11 +15,11 @@ function d3_transform_select_all(nodes, pass) {
|
|||
d3_transform_stack.shift();
|
||||
}
|
||||
|
||||
function d3_transform_select_all_bind(nodes, pass) {
|
||||
function d3_transform_selectAll_bind(nodes, pass) {
|
||||
var m = nodes.length,
|
||||
i, // the node index
|
||||
o; // the current node
|
||||
d3_transform_select_all.call(this, nodes, function(actions, nodes) {
|
||||
d3_transform_selectAll.call(this, nodes, function(actions, nodes) {
|
||||
pass(actions, nodes.parent.selectAll = nodes);
|
||||
});
|
||||
this.impl = function(nodes, pass) {
|
Загрузка…
Ссылка в новой задаче