-
Notifications
You must be signed in to change notification settings - Fork 6
/
redeux.umd.js
1 lines (1 loc) · 1.45 KB
/
redeux.umd.js
1
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).redeux=e()}}(function(){return function i(u,f,c){function d(n,e){if(!f[n]){if(!u[n]){var t="function"==typeof require&&require;if(!e&&t)return t(n,!0);if(p)return p(n,!0);var r=new Error("Cannot find module '"+n+"'");throw r.code="MODULE_NOT_FOUND",r}var o=f[n]={exports:{}};u[n][0].call(o.exports,function(e){return d(u[n][1][e]||e)},o,o.exports,i,u,f,c)}return f[n].exports}for(var p="function"==typeof require&&require,e=0;e<c.length;e++)d(c[e]);return d}({1:[function(e,n,t){var c,r="undefined"!=typeof window,d=r?window.requestAnimationFrame:setTimeout,p=r?window.cancelAnimationFrame:clearTimeout;n.exports=function(e){var i=e||{},u=[],t=[],n=[];function r(){o(n.pop()),n.length?(p(c),c=d(r)):function(){var e=0,n=t.length;for(;e<n;e++)t[e](i)}()}function o(e){for(var n,t,r=0,o=u.length;r<o;r++)t=(n=u[r]).key||n.name,i[t]=n(i[t],e);return i}function f(e){return e?e(o()):o()}return f.subscribe=function(e){return"function"==typeof e&&t.push(e)},f.unsubscribe=function(e){return t.splice(t.indexOf(e),1)},f.register=function(){for(var e,n,t=arguments,r=t.length,o=0;o<r;o++)n=(e=t[o]).key||e.name,"function"==typeof e&&(i[n]=e(i[n]),u.push(e));return u.length},f.dispatch=function(e){n.push(e),c=d(r)},f}},{}]},{},[1])(1)});