Skip to content

Commit

Permalink
ENYO-1259: bind un-bound function in minify.js
Browse files Browse the repository at this point in the history
- bind function e(), used in case of irrecoverable exception…
  …so we can have some clue about what went wrong.

Enyo-DCO-1.0-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
  • Loading branch information
Francois-Xavier KOWALSKI committed Nov 12, 2012
1 parent 0e0966f commit 5721dd0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/minifier/minify.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ var
;

var basename = path.basename(__filename),
w = console.log;
w = console.log,
e = console.error;

// Shimming path.relative with 0.8.8's version if it doesn't exist
if(!path.relative){
Expand Down

0 comments on commit 5721dd0

Please sign in to comment.