Skip to content

Commit

Permalink
added Render.create warning for omitted element
Browse files Browse the repository at this point in the history
  • Loading branch information
liabru committed Jan 21, 2015
1 parent b6603ca commit 0583cdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/render/Render.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0583cdb

Please sign in to comment.