This file contains hidden or 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
import { call, cps, fork, take, put } from 'redux-saga' | |
/** | |
* Create a saga. | |
* | |
* @param {Object} opts | |
* @return {Generator} | |
*/ | |
export function createSaga(opts) { |
This file contains hidden or 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
osemtjinkgsd |
This file contains hidden or 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
build: index.js | |
duo index.js --global analytics > analytics.js | |
test: index.js test-index.js | |
duo test-index.js > test-build.js | |
open test-index.html # which adds both builds via <script> tags |
This file contains hidden or 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
build-test.js: index.js test.js | |
duo test.js > build-test.js | |
test: build-test.js | |
mocha build-test.js |
This file contains hidden or 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
form | |
new-organization-form | |
new-organization-page | |
new-project-form | |
new-project-page | |
no-script | |
page | |
signup-form | |
signup-page | |
slug |
This file contains hidden or 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
account-header | |
analytics-identify | |
avatar | |
avatar-metadata | |
data-volume-metadata | |
db-organization | |
db-project | |
db-user | |
external-nav | |
feature |
This file contains hidden or 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 shorthands = require('./shorthands'); | |
/** | |
* Mixin shorthands. | |
*/ | |
for (var key in shorthands) Builder.prototype[key] = shorthands[key]; |
This file contains hidden or 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
/** | |
* Modified `build` to encapsulate state in a `Build` object... | |
*/ | |
Builder.prototype.build = function (fn) { | |
var self = this; | |
this.lookup.end(function (err, components) { | |
if (err) return fn(err); | |
self.build = new Build(components); | |
self.batch.end(function (err) { |
This file contains hidden or 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
<fieldset class="signup-form-name-field signup-form-text-field form-text-field form-field text-field"> | |
<label for="name" | |
class="signup-form-text-field-label form-text-field-label form-field-label">Name</label> | |
<input type="text" | |
name="name" | |
placeholder="Enter your full name..." | |
class="signup-form-name-input signup-form-text-field-input form-text-field-input form-field-input"> | |
</fieldset> |
This file contains hidden or 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
void function() { //closure | |
var global = this | |
, _initKeyboardEvent_type = (function( e ) { | |
try { | |
e.initKeyboardEvent( | |
"keyup" // in DOMString typeArg | |
, false // in boolean canBubbleArg | |
, false // in boolean cancelableArg | |
, global // in views::AbstractView viewArg |