diff --git a/combobox.html b/combobox.html
index 469e73823..914d834e7 100644
--- a/combobox.html
+++ b/combobox.html
@@ -85,7 +85,7 @@
-
+
diff --git a/index.html b/index.html
index 3ef8abad5..defb5403b 100644
--- a/index.html
+++ b/index.html
@@ -86,7 +86,7 @@
-
+
diff --git a/js/id/actions/split_way.js b/js/id/actions/split.js
similarity index 97%
rename from js/id/actions/split_way.js
rename to js/id/actions/split.js
index 6fbd08595..0c648bd26 100644
--- a/js/id/actions/split_way.js
+++ b/js/id/actions/split.js
@@ -7,7 +7,7 @@
// Reference:
// https://github.com/systemed/potlatch2/blob/master/net/systemeD/halcyon/connection/actions/SplitWayAction.as
//
-iD.actions.SplitWay = function(nodeId, newWayId) {
+iD.actions.Split = function(nodeId, newWayId) {
function candidateWays(graph) {
var node = graph.entity(nodeId),
parents = graph.parentWays(node);
diff --git a/js/id/operations/split.js b/js/id/operations/split.js
index 0d7ff6ae4..07d7d56ff 100644
--- a/js/id/operations/split.js
+++ b/js/id/operations/split.js
@@ -1,6 +1,6 @@
iD.operations.Split = function(selection, context) {
var entityId = selection[0],
- action = iD.actions.SplitWay(entityId);
+ action = iD.actions.Split(entityId);
var operation = function() {
context.perform(action, t('operations.split.annotation'));
diff --git a/test/index.html b/test/index.html
index e06e18a4b..ceb1e7fbc 100644
--- a/test/index.html
+++ b/test/index.html
@@ -82,7 +82,7 @@
-
+
@@ -151,7 +151,7 @@
-
+
diff --git a/test/index_packaged.html b/test/index_packaged.html
index 673ea46e8..050badd7d 100644
--- a/test/index_packaged.html
+++ b/test/index_packaged.html
@@ -44,7 +44,7 @@
-
+
diff --git a/test/spec/actions/split_way.js b/test/spec/actions/split.js
similarity index 92%
rename from test/spec/actions/split_way.js
rename to test/spec/actions/split.js
index 2958521a9..5ee68e67e 100644
--- a/test/spec/actions/split_way.js
+++ b/test/spec/actions/split.js
@@ -1,4 +1,4 @@
-describe("iD.actions.SplitWay", function () {
+describe("iD.actions.Split", function () {
describe("#enabled", function () {
it("returns true for a non-end node of a single way", function () {
var graph = iD.Graph({
@@ -8,7 +8,7 @@ describe("iD.actions.SplitWay", function () {
'-': iD.Way({id: '-', nodes: ['a', 'b', 'c']})
});
- expect(iD.actions.SplitWay('b').enabled(graph)).to.be.true;
+ expect(iD.actions.Split('b').enabled(graph)).to.be.true;
});
it("returns false for the first node of a single way", function () {
@@ -18,7 +18,7 @@ describe("iD.actions.SplitWay", function () {
'-': iD.Way({id: '-', nodes: ['a', 'b']})
});
- expect(iD.actions.SplitWay('a').enabled(graph)).to.be.false;
+ expect(iD.actions.Split('a').enabled(graph)).to.be.false;
});
it("returns false for the last node of a single way", function () {
@@ -28,7 +28,7 @@ describe("iD.actions.SplitWay", function () {
'-': iD.Way({id: '-', nodes: ['a', 'b']})
});
- expect(iD.actions.SplitWay('b').enabled(graph)).to.be.false;
+ expect(iD.actions.Split('b').enabled(graph)).to.be.false;
});
});
@@ -48,7 +48,7 @@ describe("iD.actions.SplitWay", function () {
'-': iD.Way({id: '-', nodes: ['a', 'b', 'c']})
});
- graph = iD.actions.SplitWay('b', '=')(graph);
+ graph = iD.actions.Split('b', '=')(graph);
expect(graph.entity('-').nodes).to.eql(['a', 'b']);
expect(graph.entity('=').nodes).to.eql(['b', 'c']);
@@ -63,7 +63,7 @@ describe("iD.actions.SplitWay", function () {
'-': iD.Way({id: '-', nodes: ['a', 'b', 'c'], tags: tags})
});
- graph = iD.actions.SplitWay('b', '=')(graph);
+ graph = iD.actions.Split('b', '=')(graph);
// Immutable tags => should be shared by identity.
expect(graph.entity('-').tags).to.equal(tags);
@@ -92,7 +92,7 @@ describe("iD.actions.SplitWay", function () {
'|': iD.Way({id: '|', nodes: ['d', 'b']})
});
- graph = iD.actions.SplitWay('b', '=')(graph);
+ graph = iD.actions.Split('b', '=')(graph);
expect(graph.entity('-').nodes).to.eql(['a', 'b']);
expect(graph.entity('=').nodes).to.eql(['b', 'c']);
@@ -118,7 +118,7 @@ describe("iD.actions.SplitWay", function () {
'r': iD.Relation({id: 'r', members: [{id: '-', type: 'way'}]})
});
- graph = iD.actions.SplitWay('b', '=')(graph);
+ graph = iD.actions.Split('b', '=')(graph);
expect(_.pluck(graph.entity('r').members, 'id')).to.eql(['-', '=']);
});
@@ -144,7 +144,7 @@ describe("iD.actions.SplitWay", function () {
'r': iD.Relation({id: 'r', members: [{id: '-', type: 'way'}, {id: '~', type: 'way'}]})
});
- graph = iD.actions.SplitWay('b', '=')(graph);
+ graph = iD.actions.Split('b', '=')(graph);
expect(_.pluck(graph.entity('r').members, 'id')).to.eql(['-', '=', '~']);
});
@@ -170,7 +170,7 @@ describe("iD.actions.SplitWay", function () {
'r': iD.Relation({id: 'r', members: [{id: '~', type: 'way'}, {id: '-', type: 'way'}]})
});
- graph = iD.actions.SplitWay('b', '=')(graph);
+ graph = iD.actions.Split('b', '=')(graph);
expect(_.pluck(graph.entity('r').members, 'id')).to.eql(['~', '=', '-']);
});
@@ -184,7 +184,7 @@ describe("iD.actions.SplitWay", function () {
'r': iD.Relation({id: 'r', members: [{id: '~', type: 'way'}, {id: '-', type: 'way'}]})
});
- graph = iD.actions.SplitWay('b', '=')(graph);
+ graph = iD.actions.Split('b', '=')(graph);
expect(_.pluck(graph.entity('r').members, 'id')).to.eql(['~', '-', '=']);
});
@@ -214,7 +214,7 @@ describe("iD.actions.SplitWay", function () {
{id: 'c', role: 'via'}]})
});
- graph = iD.actions.SplitWay('b', '=')(graph);
+ graph = iD.actions.Split('b', '=')(graph);
expect(graph.entity('r').members).to.eql([
{id: '=', role: 'from'},
@@ -246,7 +246,7 @@ describe("iD.actions.SplitWay", function () {
{id: 'c', role: 'via'}]})
});
- graph = iD.actions.SplitWay('b', '=')(graph);
+ graph = iD.actions.Split('b', '=')(graph);
expect(graph.entity('r').members).to.eql([
{id: '~', role: 'from'},
@@ -278,7 +278,7 @@ describe("iD.actions.SplitWay", function () {
{id: 'c', role: 'via'}]})
});
- graph = iD.actions.SplitWay('b', '=')(graph);
+ graph = iD.actions.Split('b', '=')(graph);
expect(graph.entity('r').members).to.eql([
{id: '-', role: 'from'},