Changeset 4:6979313586cf in OKFNAnnotator (for Zope) for annotator_files/lib/plugin/markdown.js
- Timestamp:
- Aug 27, 2012, 5:05:38 PM (12 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
annotator_files/lib/plugin/markdown.js
r3 r4 1 // Generated by CoffeeScript 1.3.3 1 2 var __bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; }, 2 __hasProp = Object.prototype.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 __hasProp = {}.hasOwnProperty, 4 __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; }; 4 5 5 6 Annotator.Plugin.Markdown = (function(_super) { … … 12 13 13 14 function Markdown(element, options) { 14 this.updateTextField = __bind(this.updateTextField, this); if ((typeof Showdown !== "undefined" && Showdown !== null ? Showdown.converter : void 0) != null) { 15 this.updateTextField = __bind(this.updateTextField, this); 16 if ((typeof Showdown !== "undefined" && Showdown !== null ? Showdown.converter : void 0) != null) { 15 17 Markdown.__super__.constructor.apply(this, arguments); 16 18 this.converter = new Showdown.converter();
Note: See TracChangeset
for help on using the changeset viewer.