|
|
@ -58,13 +58,18 @@ function shadow(obj, prop, value) { |
|
|
|
return value; |
|
|
|
return value; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
function PasswordException(msg, code) { |
|
|
|
var PasswordException = (function PasswordExceptionClosure() { |
|
|
|
this.name = 'PasswordException'; |
|
|
|
function PasswordException(msg, code) { |
|
|
|
this.message = msg; |
|
|
|
this.name = 'PasswordException'; |
|
|
|
this.code = code; |
|
|
|
this.message = msg; |
|
|
|
} |
|
|
|
this.code = code; |
|
|
|
PasswordException.prototype = new Error(); |
|
|
|
} |
|
|
|
PasswordException.constructor = PasswordException; |
|
|
|
|
|
|
|
|
|
|
|
PasswordException.prototype = new Error(); |
|
|
|
|
|
|
|
PasswordException.constructor = PasswordException; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return PasswordException; |
|
|
|
|
|
|
|
})(); |
|
|
|
|
|
|
|
|
|
|
|
function bytesToString(bytes) { |
|
|
|
function bytesToString(bytes) { |
|
|
|
var str = ''; |
|
|
|
var str = ''; |
|
|
|