Files
BeWoPlaner/BeWoPlanerMobil/node_modules/rijs.singleton/client.min.js
Lyndon Jetten fda2c306b5 MoK: Report Viewer hinzugefügt
FaC: Das alte Flag von Terminen, die in die Zeiterfassung übernommen worden sind, wird ebenfalls berücksichtigt.
2023-03-13 19:39:04 +01:00

2 lines
1.4 KiB
JavaScript

var singleton=function(){"use strict";function n(n){return function(t){return t==n}}var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},r="undefined"!=typeof window?window:t,e=n;n.fn=function(n){return"function"==typeof n},n.str=function(n){return"string"==typeof n},n.num=function(n){return"number"==typeof n},n.obj=function(n){return"object"==typeof n},n.lit=function(n){return"object"==typeof n&&!(n instanceof Array)},n.bol=function(n){return"boolean"==typeof n},n.truthy=function(n){return 1==!!n},n.falsy=function(n){return 0==!!n},n.arr=function(n){return n instanceof Array},n.null=function(n){return null===n},n.def=function(n){return void 0!==n},n.in=function(n){return function(t){return!!n&&(n.indexOf?~n.indexOf(t):t in n)}},n.promise=function(n){return n instanceof Promise},n.stream=function(n){return!(!n||!n.next)};var o={arr:function(n){return Array.prototype.slice.call(n,0)},obj:function(n){function t(n,t,o){return 0===o&&(n={}),n[e.fn(r)?r(t,o):t[r]]=t,n}var r="id";return 1==arguments.length?(r=n,t):t.apply(this,arguments)}},u=function(n){return function(t){if(!r.console||!console.log.apply)return t;e.arr(arguments[2])&&(arguments[2]=arguments[2].length);var u=o.arr(arguments),i="[log]["+(new Date).toISOString()+"]"+n;return u.unshift(i.grey?i.grey:i),console.log.apply(console,u),t}}("[ri/singleton]");return function(n){return u("creating"),r.ripple||(r.ripple=n),n}}();