Switch from frptools to reactimal (same library, different name)

This commit is contained in:
Timothy Farrell 2019-08-19 22:11:06 -05:00
parent d15814dba4
commit 1732d0f602
14 changed files with 15 additions and 14 deletions

View File

@ -18,7 +18,6 @@
"domvm": "~3.4.5",
"exif-parser": "~0.1.9",
"express": "~4.16.3",
"frptools": "~3.2.0",
"linear-partitioning": "0.3.2",
"pica": "~2.0.8",
"pouchdb-adapter-idb": "~7.0.0",
@ -42,5 +41,6 @@
"webpack": "~4.10.2",
"webpack-cli": "~2.1.5",
"webpack-dev-server": "~3.1.4"
"reactimal": "git+https://gitea.thecookiejar.me/explorigin/reactimal.git",
}
}

View File

@ -1,5 +1,5 @@
import { format } from 'date-fns';
import { prop, computed, container } from 'frptools';
import { prop, computed, container } from 'reactimal';
import {
subscribeToRender,

View File

@ -1,4 +1,4 @@
import { prop, computed, container, pick } from 'frptools';
import { prop, computed, container, pick } from 'reactimal';
import { Icon } from './icon.js';
import { defineElement as el } from '../../utils/domvm.js';

View File

@ -1,4 +1,4 @@
import { prop, computed, bundle } from 'frptools';
import { prop, computed, bundle } from 'reactimal';
import { defineElement as el } from '../../utils/domvm.js';
import { ImageType } from '../../data/image.js';

View File

@ -1,4 +1,4 @@
import { prop, computed } from 'frptools';
import { prop, computed } from 'reactimal';
import { injectStyle } from '../../utils/style.js';
import { defineElement as el } from '../../utils/domvm.js';

View File

@ -1,4 +1,4 @@
import { prop, computed, container } from 'frptools';
import { prop, computed, container } from 'reactimal';
import {
subscribeToRender,

View File

@ -1,4 +1,4 @@
import { prop } from 'frptools';
import { prop } from 'reactimal';
import {
subscribeToRender,

View File

@ -1,4 +1,4 @@
import { prop } from 'frptools';
import { prop } from 'reactimal';
import {
defineView as vw,

View File

@ -1,5 +1,5 @@
import partition from 'linear-partitioning';
import { prop, computed, container } from 'frptools';
import { prop, computed, container } from 'reactimal';
import {
defineView as vw,

View File

@ -1,7 +1,7 @@
import core from 'pouchdb-core';
import { PouchDBAttachmentProxy, blobToString, stringToBlob } from 'pouchdb-attachmentproxy';
import { deepAssign, blobToArrayBuffer } from '../utils/conversion.js';
import { prop, computed, stream } from 'frptools';
import { prop, computed, stream } from 'reactimal';
import { sha1 } from '../utils/crypto.js';
export const B2Adapter = function(b2apikey, b2secret, b2bucket) {

View File

@ -1,5 +1,5 @@
import { Router } from 'router';
import { prop } from 'frptools';
import { prop } from 'reactimal';
export const currentRoute = prop([], r => r[1] && r[1].path);

View File

@ -1,4 +1,4 @@
import { pick } from 'frptools';
import { pick } from 'reactimal';
import { isObject } from './comparators';

View File

@ -1,7 +1,8 @@
// export * from 'domvm/dist/dev/domvm.dev.js';
export * from 'domvm/dist/mini/domvm.mini.js';
import { defineView } from 'domvm/dist/mini/domvm.mini.js';
import { prop, computed, call } from 'frptools';
import { prop, computed, call } from 'reactimal';
import { deepAssign } from './conversion.js';
import { error } from '../utils/console.js';
import { streamConfig } from './event.js';

View File

@ -1,4 +1,4 @@
import { call } from 'frptools';
import { call } from 'reactimal';
export const streamConfig = {
is: s => s && typeof s.subscribe === 'function',