http://www.webpackbin.com/VkQt0UiUb
The first result ever is not emitted
How to reproduce:
| FROM nginx | |
| COPY lb.conf /etc/nginx/conf.d/ |
http://www.webpackbin.com/VkQt0UiUb
The first result ever is not emitted
How to reproduce:
| import {run} from '@cycle/xstream-run' | |
| import {makeDOMDriver, div, input, button, label} from '@cycle/dom' | |
| import {makeLocalStorageDriver} from 'cyclejs-storage' | |
| import Collection from '@cycle/collection' | |
| import xs from 'xstream' | |
| import debounce from 'xstream/extra/debounce' | |
| import dropRepeats from 'xstream/extra/dropRepeats' | |
| import pairwise from 'xstream/extra/pairwise' | |
| import delay from 'xstream/extra/delay' | |
| import concat from 'xstream/extra/concat' |
| import {run} from '@cycle/xstream-run' | |
| import {makeDOMDriver, div, button} from '@cycle/dom' | |
| import xs from 'xstream' | |
| function main (sources) { | |
| // Intent | |
| const incAction$ = sources.DOM | |
| .select('.inc').events('click') | |
| .mapTo({type: 'INC'}) | |
| const decAction$ = sources.DOM |
| diff --git a/src/shared-state.js b/src/shared-state-cleanjs.js | |
| index f92cbda..92e4c29 100644 | |
| --- a/src/shared-state.js | |
| +++ b/src/shared-state-cleanjs.js | |
| @@ -92,6 +92,32 @@ const GuestClicker = sources => isolate(guestClicker)(sources) | |
| const MAX_GUEST = 5 | |
| +const stateByFree = ({count}) => state => | |
| + ({ |
| [ | |
| { | |
| "name": "ES6 (babel) + Browserify", | |
| "value": "cycle-scripts-es-browserify" | |
| }, | |
| { | |
| "name": "TypeScript + Browserify", | |
| "value": "cycle-scripts-ts-browserify" | |
| }, | |
| { |
| import {div, input} from '@cycle/dom' | |
| import isolate from '@cycle/isolate' | |
| import xs from 'xstream' | |
| import {assoc} from 'ramda' | |
| function Form (sources) { | |
| const billingAddressChange$ = sources.DOM | |
| .select('.billing-address').events('input') | |
| .map(ev => ev.target.value) | |
| .startWith('') |
tn² on n é o número de itens BDado a lista inicial (pode ter tamanho arbitrário):
[A, A, B, A, B]
A and BB could be replaced by A' and A"A and B (the order is not important), generate the most quantity of target-lists only with items A, A' and A" below the time limit tn² where n is the number of B itemsA items doesn't need to be modified, so it could be reusedGiven the source list:
made with esnextbin