Permalink
Browse files

Adding 3rd argument to Y.log.

  • Loading branch information...
1 parent 5a9f312 commit 0b935cde856ed42d85791b1de63cd7ade5e31768 @aljimenez aljimenez committed Jun 20, 2014
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/app/autoload/mojito-client.client.js
@@ -140,7 +140,7 @@ YUI.add('mojito-client', function(Y, NAME) {
try {
binder.bind(node, element);
} catch (e) {
- Y.log(e.stack || e.message, 'error');
+ Y.log(e.stack || e.message, 'error', NAME);
}
}
// all automatic event delegation
@@ -648,7 +648,7 @@ YUI.add('mojito-client', function(Y, NAME) {
try {
binder.init(mojitProxy);
} catch (e) {
- Y.log(e.stack || e.message, 'error');
+ Y.log(e.stack || e.message, 'error', NAME);
}
}
@@ -1028,7 +1028,7 @@ YUI.add('mojito-client', function(Y, NAME) {
try {
childBinder.bind(childNode, childElement);
} catch (e) {
- Y.log(e.stack || e.message, 'error');
+ Y.log(e.stack || e.message, 'error', NAME);
}
}
});

0 comments on commit 0b935cd

Please sign in to comment.