Last active
March 31, 2018 14:48
-
-
Save EfremovMS/26c6217df2ff05e144d677471cffaaa8 to your computer and use it in GitHub Desktop.
JS start
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// [ DELETE ME ] | |
function debug (string) { | |
if(!$('.debug').length) { | |
$('body').append('<div class="debug" style="position:fixed; z-index:10000; top:66px; left:0; padding:7px 10px; border-radius:0 5px 5px 0; border:1px solid #c00; none; background:#eee; color:#333;"></div>'); | |
} | |
$('.debug').html(string); | |
} | |
// [ /DELETE ME ] | |
$(function () { | |
// описание метода | |
// - [all] | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment