I hereby claim:
- I am jwoudenberg on github.
- I am woudenberg (https://keybase.io/woudenberg) on keybase.
- I have a public key whose fingerprint is 4BE2 7848 2F18 8A4F 68AA 6AC2 9554 0BAC 3740 9D09
To claim this, I am signing this object:
| window.setupDraggable = function setupDraggable(sendEvent) { | |
| const BEACON_ATTRIBUTE = "data-beacon"; | |
| const MINIMUM_DRAG_DISTANCE_PX = 10; | |
| document.addEventListener("pointerdown", awaitDragStart); | |
| function awaitDragStart(startEvent) { | |
| document.addEventListener("pointermove", maybeDragMove); | |
| document.addEventListener("pointerup", stopAwaitingDrag); |
| module Recurse exposing (..) | |
| {-| -} | |
| {-| Function for creating controller recursive values. | |
| -} | |
| recurse : (a -> a) -> a -> a | |
| recurse next done = | |
| -- This example recurses two levels down. |
I hereby claim:
To claim this, I am signing this object:
| const Task = require('data.task') | |
| // Using the Task Monad as an example, but any Monad would work. | |
| const getAnswer = () => Task.of(42) | |
| const even = n => Task.of((n % 2) === 0) | |
| const result = fy(function * () { | |
| // Yield monads to get back their values. | |
| const answer = yield getAnswer() | |
| const halfAnswer = answer / 2 |
| var dryRun = require('denormalizer-test-utils').dryRun; | |
| var runScene = require('domain-test-utils'); | |
| var Denormalizer = require('') | |
| describe('some suite', function () { | |
| var events = null; | |
| var notifications = null; | |
| before(function () { | |
| //In reality, functions below will be async. |
| set autoupdategist | |
| set cncpcompletion | |
| let barposition = "bottom" | |
| let defaultengine = "duckduckgo" | |
| map <C-u> scrollPageUp | |
| map <C-d> scrollPageDown | |
| map <C-o> goBack | |
| map <C-i> goForward | |
| map H previousTab |
| function add(num1, num2) { | |
| return num1 + num2; | |
| } | |
| var addFive = add.bind(null, 5); | |
| var sum = addFive(3); | |
| console.log(sum); //-> 8 |
| Feature: Demonstrating a bug. | |
| Scenario Outline: Scenario one. | |
| Given I do anything | |
| Examples: | |
| |property | | |
| |one | | |
| |two | |
| /** | |
| * Test case. | |
| * Below are three tests. The top one should succeed. | |
| * In the second one an exception is thrown, so it should fail. | |
| * The last one should also fail. | |
| * What happens is that the first two are executed, then jasmine drops | |
| * dead when trying to execute the second one. | |
| */ | |
| (function () { | |
| var Q = require('q'); |