This file contains hidden or 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
| /* | |
| даты | |
| */ | |
| import java.text.ParseException; | |
| import java.text.SimpleDateFormat; | |
| import java.util.Date; | |
| public class MainClass { | |
| public static void main(String[] args) { | |
| String pattern = "MM/dd/yyyy"; |
This file contains hidden or 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
| { | |
| "directory": "bower-components" | |
| } |
This file contains hidden or 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
| jQuery(function($){ | |
| $(document).mouseup(function (e){ // событие клика по веб-документу | |
| var div = $("#popup"); // тут указываем ID элемента | |
| if (!div.is(e.target) // если клик был не по нашему блоку | |
| && div.has(e.target).length === 0) { // и не по его дочерним элементам | |
| div.hide(); // скрываем его | |
| } | |
| }); | |
| }); |