Moved area-keys to data, and process it during runtime

This commit is contained in:
Sajjad Anwar
2014-10-22 18:24:09 -04:00
committed by John Firebaugh
parent 90b0f1c5bf
commit dffeedffc9
8 changed files with 59 additions and 113 deletions
+5
View File
@@ -1,4 +1,9 @@
describe("iD.actions.Split", function () {
beforeEach(function () {
iD.areaKeys = iD().presets(iD.data.presets).presets().areaKeys();
});
describe("#disabled", function () {
it("returns falsy for a non-end node of a single way", function () {
var graph = iD.Graph([