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
Feature: wrapInSynchronousTryCatch | |
Scenario: The function returned by wrapInSynchronousTryCatch calls the function provided to wrapInSynchronousTryCatch with the same arguments | |
Given wrapInSynchronousTryCatch is called with a synchronous function that does not throw | |
When the function returned by wrapInSynchronousTryCatch is called with some arguments | |
Then the function provided to wrapInSynchronousTryCatch gets called with the same arguments | |
And the function returned by wrapInSynchronousTryCatch returns the same thing as the provided function | |
Scenario: It catches any error that the provided function throws | |
Given wrapInSynchronousTryCatch is called with a synchronous function that throws when called with some arguments |
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
/* This special class is used to remove content visually, | |
without removing it from screen reader output. Use it in | |
place of `display: none` when you want screen readers to | |
identify and announce the information the (visually) hidden | |
element contains */ | |
.vh { | |
clip-path: inset(100%) !important; | |
clip: rect(1px, 1px, 1px, 1px) !important; | |
height: 1px !important; |
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
node_modules |
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'; | |
// ======================================================================= | |
// Gulp Plugins | |
// ======================================================================= | |
var gulp = require('gulp'), | |
nunjucks = require('nunjucks'), | |
markdown = require('nunjucks-markdown'), | |
marked = require('marked'), | |
rename = require('gulp-rename'), | |
gulpnunjucks = require('gulp-nunjucks'); |
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
;; | |
;; NS CHEATSHEET | |
;; | |
;; * :require makes functions available with a namespace prefix | |
;; and optionally can refer functions to the current ns. | |
;; | |
;; * :import refers Java classes to the current namespace. | |
;; | |
;; * :refer-clojure affects availability of built-in (clojure.core) | |
;; functions. |