mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-14 15:14:56 -04:00
Marked as 0.2.8
This commit is contained in:
parent
2d36d7ce84
commit
4e64583a0b
96 changed files with 3281 additions and 22102 deletions
6
public/vendor/gist-embed.js
vendored
6
public/vendor/gist-embed.js
vendored
|
@ -25,7 +25,7 @@
|
|||
return lineNumbers;
|
||||
}
|
||||
|
||||
$.fn.gist = function() {
|
||||
$.fn.gist = function(callback) {
|
||||
return this.each(function() {
|
||||
var $elem = $(this),
|
||||
id,
|
||||
|
@ -165,6 +165,10 @@
|
|||
},
|
||||
error: function(jqXHR, textStatus) {
|
||||
$elem.html('Failed loading gist ' + url + ': ' + textStatus);
|
||||
},
|
||||
complete: function() {
|
||||
if(callback)
|
||||
callback();
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue