Browse Source

Update serialize-javascript.js

Daniele Bonini (皮夕): WebDev and DevOps by lots of Sim.pli.city bits 3 years ago
parent
commit
f912563eb7
1 changed files with 3 additions and 3 deletions
  1. 3 3
      js/serialize-javascript.js

+ 3 - 3
js/serialize-javascript.js

@@ -3,7 +3,7 @@ Copyright (c) 2014, Yahoo! Inc. All rights reserved.
 Copyright (c) 2021, 5 Mode, requirements, installation and code changes.
 Copyright (c) 2021, 5 Mode, requirements, installation and code changes.
 Copyrights licensed under the New BSD License.
 Copyrights licensed under the New BSD License.
 See the accompanying LICENSE file for terms.
 See the accompanying LICENSE file for terms.
-ver. 6.0.0
+ver. 6.0.0c
 */
 */
 
 
 'use strict';
 'use strict';
@@ -39,7 +39,7 @@ function escapeUnsafeChars(unsafeChar) {
 }
 }
 
 
 // upd - 5 Mode
 // upd - 5 Mode
-function rnd(min, max) {
+function sjrnd(min, max) {
   var ress = "";
   var ress = "";
   var resa = [];
   var resa = [];
   min = Math.ceil(min);
   min = Math.ceil(min);
@@ -56,7 +56,7 @@ function rnd(min, max) {
 function generateUID() {
 function generateUID() {
     // upd - 5 Mode
     // upd - 5 Mode
     //var bytes = randomBytes(UID_LENGTH);
     //var bytes = randomBytes(UID_LENGTH);
-    var bytes = rnd(1000000000000000, 9999999999999999);
+    var bytes = sjrnd(1000000000000000, 9999999999999999);
     // ---
     // ---
     var result = '';
     var result = '';
     for(var i=0; i<UID_LENGTH; ++i) {
     for(var i=0; i<UID_LENGTH; ++i) {