From 5627447a211d9ed2664973db0338714cac3a11a8 Mon Sep 17 00:00:00 2001 From: Samy Pesse Date: Thu, 3 Nov 2016 00:42:43 +0100 Subject: [PATCH] Add notice of deprecation --- src/utils/normalize.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/normalize.js b/src/utils/normalize.js index 067797024..883043a5f 100644 --- a/src/utils/normalize.js +++ b/src/utils/normalize.js @@ -61,7 +61,7 @@ function inline(value) { function key(value) { if (typeOf(value) == 'string') return value - warning('Passing a node instead of a key to a method accepting a key can reduce performances') + warning('Deprecation: Passing a node instead of a key to a method accepting a key can reduce performances') if (value instanceof Block) return value.key if (value instanceof Document) return value.key if (value instanceof Inline) return value.key