Lint and updated stylesheet unit tests

This commit is contained in:
Nick
2017-10-23 16:41:51 -07:00
parent ce4daa3a5a
commit fa93ed332f
8 changed files with 13 additions and 15 deletions
+2 -3
View File
@@ -23,7 +23,7 @@ class MapStyleTransitionItem extends MapStyleItem {
duration: duration,
delay: delay,
},
...extras
...extras,
});
}
}
@@ -32,7 +32,7 @@ class MapStyleTranslationItem extends MapStyleItem {
constructor (x, y, extras = {}) {
super(StyleTypes.Translation, {
value: [x, y],
...extras
...extras,
});
}
}
@@ -81,7 +81,6 @@ function makeStyleValue (prop, value, extras = {}) {
let item;
if (!isUndefined(value.type) && !isUndefined(value.payload)) { // function
console.log(prop, value);
item = value;
item.processStops(prop);
} else if (styleMap[prop] === StyleTypes.Transition) {