UNPKG
mirrorx-persist
Version:
latest (0.2.8)
0.2.8
A React framework with minimal API and zero boilerplate.
github.com/mirrorjs/mirror
mirrorjs/mirror
mirrorx-persist
/
lib
/
effects.js
12 lines
(10 loc)
•
255 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
"use strict"
;
Object
.
defineProperty
(
exports
,
"__esModule"
, {
value
:
true
});
var
effects =
exports
.
effects
= {};
var
addEffect =
exports
.
addEffect
=
function
addEffect
(
effects
) {
return
function
(
name, handler
) { effects[name] = handler; }; };