comparison annotator_files/lib/plugin/unsupported.js @ 4:6979313586cf

new version of annotator.
author casties
date Mon, 27 Aug 2012 19:05:38 +0200
parents 6356e78ccf5c
children
comparison
equal deleted inserted replaced
3:6356e78ccf5c 4:6979313586cf
1 var __hasProp = Object.prototype.hasOwnProperty, 1 // Generated by CoffeeScript 1.3.3
2 __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; }; 2 var __hasProp = {}.hasOwnProperty,
3 __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; };
3 4
4 Annotator.Plugin.Unsupported = (function(_super) { 5 Annotator.Plugin.Unsupported = (function(_super) {
5 6
6 __extends(Unsupported, _super); 7 __extends(Unsupported, _super);
7 8
8 function Unsupported() { 9 function Unsupported() {
9 Unsupported.__super__.constructor.apply(this, arguments); 10 return Unsupported.__super__.constructor.apply(this, arguments);
10 } 11 }
11 12
12 Unsupported.prototype.options = { 13 Unsupported.prototype.options = {
13 message: Annotator._t("Sorry your current browser does not support the Annotator") 14 message: Annotator._t("Sorry your current browser does not support the Annotator")
14 }; 15 };