diff options
author | Jose <jose@zeroc.com> | 2014-09-04 23:16:26 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2014-09-04 23:16:26 +0200 |
commit | 0b71bce81863cebf867378c672b22c60618aad8b (patch) | |
tree | c84d0db0c2e0cd90330f1af5cc7652c5368ed047 | |
parent | IceJS: removed ExUtil.toString and add stack print to Exception.toString() if... (diff) | |
download | ice-0b71bce81863cebf867378c672b22c60618aad8b.tar.bz2 ice-0b71bce81863cebf867378c672b22c60618aad8b.tar.xz ice-0b71bce81863cebf867378c672b22c60618aad8b.zip |
JS minor fix, remove unused variables
-rw-r--r-- | js/src/Ice/Exception.js | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/js/src/Ice/Exception.js b/js/src/Ice/Exception.js index cf33593110f..cf6732ba965 100644 --- a/js/src/Ice/Exception.js +++ b/js/src/Ice/Exception.js @@ -51,17 +51,12 @@ var Exception = Class(Error, { Exception.captureStackTrace = function(object) { var stack = new Error().stack; - - var formattedStack; - // // In IE 10 and greater the stack will be filled once the Error is throw // we don't need to do anything. // if(stack !== undefined) { - - var name = object.ice_name ? object.ice_name().replace(/::/g, ".") : ""; Object.defineProperty(object, "stack", { get: function(){ return stack; |