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
// Глобальный счётчик запросов | |
let lastRequest = 0 | |
export function send (...args, callback) { | |
// Запоминаем какой номер у этого запроса | |
const thisRequest = ++lastRequest | |
fetch(...args).then(responce => { | |
// Игнорируем ответ, если номер этого запроса | |
// не совпадает с номером последнего | |
if (thisRequest !== lastRequest) return |
Тут перечислены не законы, последние слово всегда за здравым смыслом. Тут перечислены лишь направление, куда надо стремиться. Принципы, которые должны помочь, когда не знаешь, что выбрать.
- Пользователь. Если что-то сильно мешает UX или есть критическая ошибка, то в первую очередь мы спасаем пользователей. Для этого иногда надо взять ответственность на себя, переубедить толпу, написать плохой код.
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
➜ ./bin/autoprefixer --info | |
Browsers: | |
Chrome for Android: 71 | |
Firefox for Android: 64 | |
And_qq: 1.2 | |
UC for Android: 11.8 | |
Android: 67, 4.4.3-4.4.4 | |
Baidu: 7.12 | |
Chrome: 73, 72 | |
Edge: 18, 17 |
Amplifr’s rules for landing pages created by outsource.
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
➤ ./bin/autoprefixer --info | |
Browsers: | |
Chrome for Android: 69 | |
Firefox for Android: 62 | |
And_qq: 1.2 | |
UC for Android: 11.8 | |
Android: 67, 4.4.3-4.4.4 | |
Baidu: 7.12 | |
Chrome: 69, 68 | |
Edge: 17, 16 |
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
body { | |
display: -ms-grid; | |
display: grid; | |
-ms-grid-rows: 30px auto 30px; | |
grid-template-rows: 30px auto 30px; | |
-ms-grid-columns: 3fr 1fr; | |
grid-template-columns: 3fr 1fr; | |
grid-template-areas: "🎩 🎩" | |
"🍔 📰" | |
"👞 👞"; |
I hereby claim:
- I am ai on github.
- I am iskin (https://keybase.io/iskin) on keybase.
- I have a public key whose fingerprint is BF0B F36F 0C23 36C7 A197 F941 A9E0 9B94 1F71 0E4D
To claim this, I am signing this object:
NewerOlder