- Свободная лицензия (в идеале)
- API
- Масштабировать текст по количеству символов (в идеале)
- Быть кроссбраузерным
- Сокращать ссылки и подсвечивать ссылки
- Иметь защиту от XSS
- Конфигурироваться
- Поддерживать историю
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
export CLICOLOR=1 | |
export LSCOLORS=GxFxCxDxBxegedabagaced | |
Explanation: | |
CLICOLOR=1 simply enables coloring of your terminal. | |
LSCOLORS=... specifies how to color specific items. |
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
var $el = $("#very-specific-design"); | |
var elHeight = $el.outerHeight(); | |
var elWidth = $el.outerWidth(); | |
var $wrapper = $("#scaleable-wrapper"); | |
$wrapper.resizable({ | |
resize: doResize | |
}); |
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
# https://raw.githubusercontent.com/aptana/studio2/master/tools/com.aptana.ide.parsing.tools/Parser%20Files/XML.bnf | |
### | |
# level 1 | |
### | |
document | |
: prolog element Misc* | |
; |
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
'use strict'; | |
var assert = require('assert'); | |
var Promise = require('../index'); | |
var tests = []; | |
var test = new function () { | |
function test (desc, tester) { |
- Откройте ваш файл и выберите "Инструменты"
- Выберите "Редактор скриптов"
- В появившемся окне вставьте первый скрипт (JS)
- Создайте на своем диске папку, куда будут складываться файлы
- Перейдите в новую папку
- Скопируйте в адресной строке ID папки (выглядит он примерно так 1jaST3NoIg63d0x0A1K7ppje8ZTjCWvIP)
- В функции saveFile замените значение ID на свой
- Нажмите иконку "Сохранить проект"
- Нажмите плюсик напротив "Файлы", чтобы добавить файл
- Выберите HTML
Причины, по которым мне не правится Jest
-
Нельзя задать директорию для снепшотов. На первый взгляд это не кажется проблемой, но когда вы начнете создавать файлики с постфиксом
.spec.js
, то на каждом уровне у вас будут папки__snapshots__
. Представьте, что открываете вы директорию, а там папка с кешом, открываете другую и там тоже самое — жуть! -
testPathDirs не поддерживает glob-паттерн.
-
Jest как и Webpack 2 валидирует все поля. Это означает, что подключив какой-то сторонний препроцессор вы должны описывать его конфигурацию в вашем package.json, и даже не в секции jest, поскольку она там тоже валидируется!
-
setupFiles включаются в набор тестов, если они попадают в
testPathDirs
.
NewerOlder