From 9958a39e21d6a64a565818b76e5c74251959de34 Mon Sep 17 00:00:00 2001 From: Justin Meyer Date: Thu, 9 Nov 2017 12:51:17 -0600 Subject: [PATCH] warns if using the old store form --- store.js | 1 + test/test.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/store.js b/store.js index c9e1396..462195f 100644 --- a/store.js +++ b/store.js @@ -116,6 +116,7 @@ Store.make = function (count, make, algebra) { isNew = true; } if(!isNew) { + console.warn("can-fixture: This form ( `fixture(count, make, filter)` ) of making a store is deprecated. Please use the algebra-based form."); return legacyStore.apply(this, arguments); } diff --git a/test/test.html b/test/test.html index 3bdba59..4d85dcb 100644 --- a/test/test.html +++ b/test/test.html @@ -1,4 +1,4 @@ can-fixture fixture - +