1
0
mirror of synced 2024-11-28 23:56:03 +03:00
select2/docs/themes/site/js/data-fill-from.js
2019-09-11 04:02:16 -04:00

14 lines
299 B
JavaScript

$(document).ready(function() {
$("[data-fill-from]").each(function () {
var $this = $(this);
var codeContainer = $this.data("fill-from");
var $container = $(codeContainer);
var code = $.trim($container.html());
$this.text(code);
$this.addClass("prettyprint");
});
});