Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

updated a console.warn message to provide a link to the object being …

…logged, rather than a string representing an object
  • Loading branch information...
commit 346cdb79df957821a1be26e6d2af3f5374523458 1 parent fea78fb
@jlbruno jlbruno authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/core/reader.js
View
2  src/core/reader.js
@@ -410,7 +410,7 @@ Monocle.Reader = function (node, bookData, options, onLoadCallback) {
function addControl(ctrl, cType, options) {
for (var i = 0; i < p.controls.length; ++i) {
if (p.controls[i].control == ctrl) {
- console.warn("Already added control: " + ctrl);
+ console.warn("Already added control: %o", ctrl);
return;
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.