shorter error message, remove ES6 template string

pull/7738/head
Rich Harris 8 years ago
parent e2286da150
commit 4054b87534

@ -53,7 +53,7 @@ assign(Store.prototype, {
function visit(key) {
if (cycles[key]) {
throw new Error(`Cyclical dependency detected — a computed property cannot indirectly depend on itself`);
throw new Error('Cyclical dependency detected');
}
if (visited[key]) return;

Loading…
Cancel
Save