|
@@ -8,8 +8,6 @@
|
|
|
</head>
|
|
|
<body>
|
|
|
<script>
|
|
|
-
|
|
|
-
|
|
|
//MAKEPROFILETIMER
|
|
|
|
|
|
// let makeProfileTimer = () => {
|
|
@@ -25,9 +23,11 @@
|
|
|
|
|
|
// let makeSaver = (cb) => {
|
|
|
// let someVariableToSave;
|
|
|
+ // let isSaved = false;
|
|
|
// return () => {
|
|
|
- // if (someVariableToSave === undefined) {
|
|
|
+ // if (isSaved === false) {
|
|
|
// someVariableToSave = cb();
|
|
|
+ // isSaved = true;
|
|
|
// }
|
|
|
// return someVariableToSave;
|
|
|
// };
|
|
@@ -72,8 +72,8 @@
|
|
|
// return (...params) => {
|
|
|
// let rezParams = paramsToBind.map((el, idx) => {
|
|
|
// if (el === undefined) {
|
|
|
- // el = params[0];
|
|
|
- // params.shift();
|
|
|
+ // el = params.shift()
|
|
|
+
|
|
|
// }
|
|
|
// return el;
|
|
|
// });
|