keybase-proofs
Version:
Publicly-verifiable proofs of identity
36 lines (25 loc) • 1.19 kB
JavaScript
// Generated by IcedCoffeeScript 108.0.11
(function() {
var Announcement, Base, constants,
__hasProp = {}.hasOwnProperty,
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; };
Base = require('./base').Base;
constants = require('./constants').constants;
exports.Announcement = Announcement = (function(_super) {
__extends(Announcement, _super);
function Announcement(obj) {
this.announcement = obj.announcement;
Announcement.__super__.constructor.call(this, obj);
}
Announcement.prototype._type = function() {
return constants.sig_types.announcement;
};
Announcement.prototype._required_sections = function() {
return Announcement.__super__._required_sections.call(this).concat(["announcement"]);
};
Announcement.prototype._v_customize_json = function(ret) {
return ret.body.announcement = this.announcement;
};
return Announcement;
})(Base);
}).call(this);