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
| events: { | |
| 'click .b-header-notification_button': 'setLayout', | |
| 'hover .b-right_menu-item': 'showPopup', | |
| 'mouseleave .b-right_menu-item': 'hidePopup', | |
| 'click .b-right_menu-link': 'setOpened', | |
| 'click .b-right_menu-link': 'selectEl' | |
| }, | |
| events: { | |
| 'click .b-header-notification_button': 'setLayout', |
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
| [user] | |
| name = Philipp Andreychev | |
| [core] | |
| editor = vim | |
| [alias] | |
| unstage = reset HEAD -- | |
| co = checkout | |
| br = branch | |
| ci = commit | |
| stat = status |
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
| <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script> | |
| <script>window.jQuery || document.write('<script src="js/vendor/jquery-1.8.0.min.js"><\/script>')</script> |
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
| // Avoid `console` errors in browsers that lack a console. | |
| if (!(window.console && console.log)) { | |
| (function() { | |
| var noop = function() {}; | |
| var methods = ['assert', 'clear', 'count', 'debug', 'dir', 'dirxml', 'error', 'exception', 'group', 'groupCollapsed', 'groupEnd', 'info', 'log', 'markTimeline', 'profile', 'profileEnd', 'markTimeline', 'table', 'time', 'timeEnd', 'timeStamp', 'trace', 'warn']; | |
| var length = methods.length; | |
| var console = window.console = {}; | |
| while (length--) { | |
| console[methods[length]] = noop; | |
| } |
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
| // функция для определения модели Айпада | |
| function detectIPadVersion(callback, undefined) { | |
| if ('ondevicemotion' in window) { | |
| window.addEventListener('devicemotion', function self(event) { | |
| if (~navigator.platform.indexOf('iPad')) { | |
| var version = event.acceleration ? (window.devicePixelRatio === 2) + 2 : 1; | |
| } | |
| window.removeEventListener('devicemotion', self); | |
| callback(version); |
NewerOlder