I hereby claim:
- I am adamrenklint on github.
- I am adamrenklint (https://keybase.io/adamrenklint) on keybase.
- I have a public key ASCdqYVY4DQibCDzxkJBOvN1yrrHBdSf5hFqdnrkBnZLKQo
To claim this, I am signing this object:
| ; Consider the following code: | |
| (ns debugger-demo.core) | |
| (defn init [] | |
| (let [a (+ 1 2 3)] | |
| (js-debugger))) | |
| ; Reload the page and let the Dirac REPL connect | |
| ; We'll immediately stop at the breakpoint, and by going into the namespace we can inspect the state of the frame at which we have stopped |
| (defn code-mirror | |
| "Create a code-mirror editor. The parameters: | |
| value-atom (reagent atom) | |
| when this changes, the editor will update to reflect it. | |
| options | |
| :style (reagent style map) | |
| will be applied to the container element | |
| :js-cm-opts | |
| options passed into the CodeMirror constructor | |
| :on-cm-init (fn [cm] -> nil) |
I hereby claim:
To claim this, I am signing this object:
| import { freeze, assoc } from 'icepick' | |
| interface User { | |
| /** | |
| * Name of the user | |
| */ | |
| readonly name: string | |
| /** | |
| * Age of the user | |
| */ |
| var Dilla = require('./index'); | |
| var audioContext = new (window.AudioContext || window.webkitAudioContext)(); | |
| var dilla = new Dilla(audioContext); | |
| // Setup the standard metronome stuff | |
| var high = { | |
| 'position': '*.1.01', | |
| 'freq': 440, | |
| 'duration': 15 | |
| }; |
| import { combineReducers } from 'redux'; | |
| function user(state = {}, action) { | |
| switch (action.type) { | |
| case UPDATE_USERNAME: | |
| return { | |
| ...state, | |
| name: action.payload | |
| }; | |
| } |
| http://www.trn.gl/bhkr | |
| INDEX/KEY/POSITION | |
| /QFQ(FQ_Q)FS* | |
| 0 1Q 1.1.01 | |
| 1 1F 1.1.49 | |
| 2 1Q 1.2.01 | |
| 4 1F 1.2.49 |
| <wunderland-component attributes="name value values options type prefix_nodes"> | |
| <template> | |
| <template repeat="{{val, i in values}}"> | |
| <div class="prefix_insertion" id="{{i | attach_prefix_node}}"></div> | |
| <wunderland-select on-change="{{updateValue}}"> | |
| <template repeat="{{opt in options}}"> | |
| <wunderland-option selected="{{opt == val}}">{{opt}}</wunderland-option> | |
| </template> | |
| </wunderland-select> | |
| <wunderland-button class="remove" context="danger" on-click="{{removeOption}}" index="{{i}}" size="small">Remove</wunderland-button> |