Show More
Commit Description:
force log out when password change
Commit Description:
force log out when password change
References:
File last commit:
Show/Diff file:
Action:
node_modules/restructure/src/Boolean.js
| 28 lines
| 575 B
| application/javascript
| JavascriptLexer
|
r789 | // Generated by CoffeeScript 1.7.1 | |||
(function() { | ||||
var BooleanT; | ||||
BooleanT = (function() { | ||||
function BooleanT(type) { | ||||
this.type = type; | ||||
} | ||||
BooleanT.prototype.decode = function(stream, parent) { | ||||
return !!this.type.decode(stream, parent); | ||||
}; | ||||
BooleanT.prototype.size = function(val, parent) { | ||||
return this.type.size(val, parent); | ||||
}; | ||||
BooleanT.prototype.encode = function(stream, val, parent) { | ||||
return this.type.encode(stream, +val, parent); | ||||
}; | ||||
return BooleanT; | ||||
})(); | ||||
module.exports = BooleanT; | ||||
}).call(this); | ||||