Initial commit
This commit is contained in:
13
public/assets/vendor/select2-4.1.0-rc.0/docs/themes/site/js/data-fill-from.js
vendored
Executable file
13
public/assets/vendor/select2-4.1.0-rc.0/docs/themes/site/js/data-fill-from.js
vendored
Executable file
@ -0,0 +1,13 @@
|
||||
$(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");
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user