leonidas / transparency

Transparency is a semantic template engine for the browser. It maps JSON objects to DOM elements by id, class and data-bind attributes.
http://leonidas.github.com/transparency/
MIT License
969 stars 112 forks source link

helpers.log ignores debug: true #122

Open cowwoc opened 10 years ago

cowwoc commented 10 years ago

transparency.js runs

log = options.debug && console ? helpers.consoleLogger : helpers.nullLogger;

helpers.js runs:

exports.log = exports.nullLogger;

and Instance.js runs:

helpers.log("Matching elements for '" + key + "':", elements);

This means that Instance.js will never log matching elements even if debug: true is set.