mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-08-11 15:50:57 +00:00
auto-commit for fa23f3bb-adf7-48d2-ba5f-304a1e01a0d9
This commit is contained in:
+1
@@ -0,0 +1 @@
|
||||
{"dependencies":[],"output":[{"data":{"code":"__d(function (global, require, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {\n /** Used to detect hot functions by number of calls within a span of milliseconds. */\n var HOT_COUNT = 800,\n HOT_SPAN = 16;\n\n /* Built-in method references for those with the same name as other `lodash` methods. */\n var nativeNow = Date.now;\n\n /**\n * Creates a function that'll short out and invoke `identity` instead\n * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`\n * milliseconds.\n *\n * @private\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new shortable function.\n */\n function shortOut(func) {\n var count = 0,\n lastCalled = 0;\n return function () {\n var stamp = nativeNow(),\n remaining = HOT_SPAN - (stamp - lastCalled);\n lastCalled = stamp;\n if (remaining > 0) {\n if (++count >= HOT_COUNT) {\n return arguments[0];\n }\n } else {\n count = 0;\n }\n return func.apply(undefined, arguments);\n };\n }\n module.exports = shortOut;\n});","lineCount":36,"map":[[2,2,1,0],[3,2,2,0],[3,6,2,4,"HOT_COUNT"],[3,15,2,13],[3,18,2,16],[3,21,2,19],[4,4,3,4,"HOT_SPAN"],[4,12,3,12],[4,15,3,15],[4,17,3,17],[6,2,5,0],[7,2,6,0],[7,6,6,4,"nativeNow"],[7,15,6,13],[7,18,6,16,"Date"],[7,22,6,20],[7,23,6,21,"now"],[7,26,6,24],[9,2,8,0],[10,0,9,0],[11,0,10,0],[12,0,11,0],[13,0,12,0],[14,0,13,0],[15,0,14,0],[16,0,15,0],[17,0,16,0],[18,2,17,0],[18,11,17,9,"shortOut"],[18,19,17,17,"shortOut"],[18,20,17,18,"func"],[18,24,17,22],[18,26,17,24],[19,4,18,2],[19,8,18,6,"count"],[19,13,18,11],[19,16,18,14],[19,17,18,15],[20,6,19,6,"lastCalled"],[20,16,19,16],[20,19,19,19],[20,20,19,20],[21,4,21,2],[21,11,21,9],[21,23,21,20],[22,6,22,4],[22,10,22,8,"stamp"],[22,15,22,13],[22,18,22,16,"nativeNow"],[22,27,22,25],[22,28,22,26],[22,29,22,27],[23,8,23,8,"remaining"],[23,17,23,17],[23,20,23,20,"HOT_SPAN"],[23,28,23,28],[23,32,23,32,"stamp"],[23,37,23,37],[23,40,23,40,"lastCalled"],[23,50,23,50],[23,51,23,51],[24,6,25,4,"lastCalled"],[24,16,25,14],[24,19,25,17,"stamp"],[24,24,25,22],[25,6,26,4],[25,10,26,8,"remaining"],[25,19,26,17],[25,22,26,20],[25,23,26,21],[25,25,26,23],[26,8,27,6],[26,12,27,10],[26,14,27,12,"count"],[26,19,27,17],[26,23,27,21,"HOT_COUNT"],[26,32,27,30],[26,34,27,32],[27,10,28,8],[27,17,28,15,"arguments"],[27,26,28,24],[27,27,28,25],[27,28,28,26],[27,29,28,27],[28,8,29,6],[29,6,30,4],[29,7,30,5],[29,13,30,11],[30,8,31,6,"count"],[30,13,31,11],[30,16,31,14],[30,17,31,15],[31,6,32,4],[32,6,33,4],[32,13,33,11,"func"],[32,17,33,15],[32,18,33,16,"apply"],[32,23,33,21],[32,24,33,22,"undefined"],[32,33,33,31],[32,35,33,33,"arguments"],[32,44,33,42],[32,45,33,43],[33,4,34,2],[33,5,34,3],[34,2,35,0],[35,2,37,0,"module"],[35,8,37,6],[35,9,37,7,"exports"],[35,16,37,14],[35,19,37,17,"shortOut"],[35,27,37,25],[36,0,37,26],[36,3]],"functionMap":{"names":["<global>","shortOut","<anonymous>"],"mappings":"AAA;ACgB;SCI;GDa;CDC"},"hasCjsExports":true},"type":"js/module"}]}
|
||||
Reference in New Issue
Block a user