You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<li>The generator uses internal variables that start with _API, so avoid using variables in that namespace if you can or else unexpected behavior can happen.</li>
247
247
</ul>
248
-
<p>If you have made an API/Snippet that requires a PRNG, you can access the generators internal PRNG with the prng function. This will return, direct from the Mersenne Twister module the generator is using, a number on [0,1) real interval.
248
+
<p>If you have made an API/Snippet that requires a PRNG, you can access the generator's internal PRNG with the prng function. This will return, direct from the Mersenne Twister module the generator is using, a number on the [0,1) real interval.
const r3 = require('keith/randomNum').randomNum; // Won't work if snippet is published
385
+
386
+
api.a = r1();
387
+
api.b = r2();</code></pre>
388
+
</div>
389
+
</div>
390
+
391
+
<listyle="clear: both">Source code of revisions that are published can not be modified. You can still modify the revision's description though as well as the snippet's tags, but the snippet name cannot be modified once it is published to avoid confusion between revisions.</li>
381
392
<li>If you have made a mistake or want to make an improvement to a snippet, you can create a new revision.</li>
382
393
<li>Users can search for snippets by clicking the search menu item.</li>
383
394
<ol>Search depends on the tags/keywords that you give a snippet. Make sure that you provide good tags that users will most likely search for in order to have the best chance of your snippet being found.</ol>
0 commit comments