From 0583cdbd90c6e0d5ae94682ca59320e6abb3ed94 Mon Sep 17 00:00:00 2001 From: liabru Date: Wed, 21 Jan 2015 00:11:10 +0000 Subject: [PATCH] added Render.create warning for omitted element --- src/render/Render.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/render/Render.js b/src/render/Render.js index 59f45b4..6ed8a11 100644 --- a/src/render/Render.js +++ b/src/render/Render.js @@ -74,7 +74,7 @@ var Render = {}; if (Common.isElement(render.element)) { render.element.appendChild(render.canvas); } else { - Common.log('No "render.element" passed, "render.canvas" was not inserted into document.', 'warn'); + Common.log('Render.create: options.element was undefined, render.canvas was created but not appended', 'warn'); } return render;