Permalink
Browse files

Squash unneded debug messages

  • Loading branch information...
akaspin committed Jul 22, 2010
1 parent f00abbe commit 5c1c98e52ef57db9972fab230ea07711497fd0f8
Showing with 2 additions and 9 deletions.
  1. +1 −8 compiler.js
  2. +1 −1 test/fixtures/lambda-readme.html
View
@@ -79,7 +79,6 @@ exports.compile = compile;
* @param {String} data
*/
function raw(chunk, data){
- console.log(">>>RAW %s", chunk.__getId());
chunk.write(data);
}
@@ -92,8 +91,6 @@ function raw(chunk, data){
* @param {Array} action Bundle of actions
*/
function section(manner, chunk, target, context, action) {
- console.log(">>>SEC-IN %s", chunk.__getId());
-
if (typeof target === 'function') {
// Target is function
var target = target(context);
@@ -112,10 +109,8 @@ function section(manner, chunk, target, context, action) {
});
};
-// var act = chunk.map();
action(chunk, context);
-// act.end();
- chunk.end()
+ chunk.end();
} else {
// No lambda - just async function
manner(chunk, target, context, action);
@@ -139,8 +134,6 @@ function section(manner, chunk, target, context, action) {
* @param {Array} action Bundle of actions
*/
function sectionMannerNormal(chunk, target, context, action) {
- console.log(">>>SEC-NORM %s", chunk.__getId());
-
if (Array.isArray(target)) {
// target is array
if (!!target.length) {
@@ -1,5 +1,5 @@
Lambda test start
{{#lambda}}
- !Lambda contents {{name}}.
+ Lambda contents {{name}}.
{{/lambda}}
Lambda test end

0 comments on commit 5c1c98e

Please sign in to comment.