You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@steve.apache.org by hu...@apache.org on 2016/03/27 18:09:49 UTC

svn commit: r1736763 - /steve/trunk/pysteve/www/htdocs/js/steve_rest.js

Author: humbedooh
Date: Sun Mar 27 16:09:49 2016
New Revision: 1736763

URL: http://svn.apache.org/viewvc?rev=1736763&view=rev
Log:
meant 8 digits of course, and we can start at 300M for that

Modified:
    steve/trunk/pysteve/www/htdocs/js/steve_rest.js

Modified: steve/trunk/pysteve/www/htdocs/js/steve_rest.js
URL: http://svn.apache.org/viewvc/steve/trunk/pysteve/www/htdocs/js/steve_rest.js?rev=1736763&r1=1736762&r2=1736763&view=diff
==============================================================================
--- steve/trunk/pysteve/www/htdocs/js/steve_rest.js (original)
+++ steve/trunk/pysteve/www/htdocs/js/steve_rest.js Sun Mar 27 16:09:49 2016
@@ -38,7 +38,7 @@ function getJSON(theUrl, xstate, callbac
 }
 
 function generateID() {
-    return parseInt(1000000000 + (Math.random()*3200000000)).toString(16).toLowerCase()
+    return parseInt(300000000 + (Math.random()*3800000000)).toString(16).toLowerCase()
 }
 
 // Posting to the REST API, returns http code + JSON response