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
var myModule = (function () { | |
var init = function () { | |
_setUpListners(); | |
}; | |
var _setUpListners = function () { | |
}; |
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
# Numerous always-ignore extensions | |
*.bak | |
*.diff | |
*.err | |
*.exe | |
*.log | |
*.orig | |
*.rej | |
*.sass-cache | |
*.swo |
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 init() { | |
var e = Math.max(document.documentElement.clientWidth, window.innerWidth || 0) | |
, o = e > 480 | |
, n = { | |
zoom: 8, | |
scrollwheel: !1, | |
mapTypeControl: !1, | |
streetViewControl: !1, | |
draggable: o, | |
zoomControl: !1, |
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(window, document) { | |
'use strict'; | |
var file = 'img/sprite.svg', // путь к файлу спрайта на сервере | |
revision = 1; // версия спрайта | |
if (!document.createElementNS || !document.createElementNS('http://www.w3.org/2000/svg', 'svg').createSVGRect) return true; | |
var isLocalStorage = 'localStorage' in window && window['localStorage'] !== null, | |
request, | |
data, | |
insertIT = function() { | |
document.body.insertAdjacentHTML('afterbegin', data); |
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
{ | |
"tagname-lowercase": true, | |
"attr-lowercase": true, | |
"attr-value-double-quotes": true, | |
"attr-value-not-empty": false, | |
"attr-no-duplication": true, | |
"doctype-first": true, | |
"tag-pair": true, | |
"tag-self-close": false, | |
"spec-char-escape": true, |
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
{ | |
"rules": { | |
"color-hex-case": "lower", | |
"color-hex-length": "long", | |
"color-no-invalid-hex": true, | |
"font-family-name-quotes": "always-unless-keyword", | |
"font-family-no-duplicate-names": true, | |
"function-calc-no-unspaced-operator": true, |
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
; http://editorconfig.org | |
root = true | |
[*] | |
charset = utf-8 | |
indent_style = tab | |
indent_size = 4 | |
end_of_line = lf | |
trim_trailing_whitespace = true |
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
{ | |
"extends": "eslint:recommended", | |
"env": { | |
"es6": true, | |
"node": true, | |
"browser": true | |
}, | |
"ecmaFeatures": { |
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
html { | |
box-sizing: border-box; | |
height: 100%; | |
} | |
*, *:before, *:after { | |
box-sizing: inherit; | |
} |
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
@mixin mobile-only { | |
@media (max-width: 768px) { | |
@content; | |
} | |
} | |
@mixin tablet-only { | |
@media (max-width: 1200px) { | |
@content; | |
} |
OlderNewer