precis-js
Version:
A JavaScript implementation of RFC 7564 (The PRECIS Framework).
19 lines (13 loc) • 716 B
JavaScript
// Generated by CoffeeScript 1.10.0
(function() {
var InvalidDirectionalityError,
extend = 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; },
hasProp = {}.hasOwnProperty;
module.exports = InvalidDirectionalityError = (function(superClass) {
extend(InvalidDirectionalityError, superClass);
function InvalidDirectionalityError() {
this.message = 'String violates the directionality rule.';
}
return InvalidDirectionalityError;
})(Error);
}).call(this);