-
-
Notifications
You must be signed in to change notification settings - Fork 572
/
import.html
26 lines (26 loc) · 811 Bytes
/
import.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<!DOCTYPE html>
<html>
<head>
<script src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
<script src="https://cdn.rawgit.com/jcubic/jquery.terminal/devel/js/jquery.terminal.min.js"></script>
<style>
body {
min-height: 100vh;
margin: 0;
}
</style>
<script>
(function() {
var url = 'https://cdn.rawgit.com/jcubic/jquery.terminal/devel/css/jquery.terminal.min.css';
var $ = jQuery.noConflict();
$('<link href="' + url + '" rel="stylesheet"/>').appendTo('head');
var importDoc = document.currentScript.ownerDocument;
var style = importDoc.querySelector('style');
document.head.appendChild(style);
window.terminal = function(selector) {
var args = [].slice.call(arguments, 1);
return $.fn.terminal.apply($(selector), args);
};
})();
</script>
</head>