* Fix #2414, address part of #1687

Also cleared the CSS up to be a lot more readable instead of smooshed
into a single line.

* Redo the testing docs page

- Addresses another part of #1687
- Also, fix a few linter issues in the ospec binary

* Add note about third-party cookies, tweak a line

* Make the JSX comparison much more meaningful

And let the code speak for itself. Don't fuel the flame wars any more
than what they've already become. We should be *unopinionated*, and so
I've updated those docs to remove the existing opinion.

* Remove a bunch of outdated ES6 references

* Remove the CSS page
This commit is contained in:
Isiah Meadows 2019-07-23 16:33:56 -04:00 committed by GitHub
parent 61b087ea20
commit 20f0759103
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 525 additions and 283 deletions

View file

@ -11,7 +11,7 @@ function parseArgs(argv) {
var args = {}
var name
argv.forEach(function(arg) {
if (/^--/.test(arg)) {
if ((/^--/).test(arg)) {
name = arg.substr(2)
args[name] = args[name] || []
} else {
@ -24,12 +24,15 @@ function parseArgs(argv) {
var args = parseArgs(process.argv)
var globList = args.globs && args.globs.length ? args.globs : ["**/tests/**/*.js"]
var ignore = ["**/node_modules/**"].concat(args.ignore||[])
var ignore = ["**/node_modules/**"].concat(args.ignore || [])
var cwd = process.cwd()
args.require && args.require.forEach(function(module) {
module && require(require.resolve(module, { basedir: cwd }))
})
if (args.require) {
args.require.forEach(function(module) {
// eslint-disable-next-line global-require
if (module) require(require.resolve(module, {basedir: cwd}))
})
}
var pending = globList.length
globList.forEach(function(globPattern) {