mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-25 09:56:15 -04:00
Share randomString
method.
This simply shares a common implementation and makes no judgements on the validity of its use. The string created is not a secure random number, so some uses of it may not be applicable.
This commit is contained in:
parent
34edba3adf
commit
363e168561
12 changed files with 37 additions and 61 deletions
|
@ -5,7 +5,7 @@ var ueberDB = require("ueberDB");
|
|||
var mysql = require("mysql");
|
||||
var async = require("async");
|
||||
var Changeset = CommonCode.require("/Changeset");
|
||||
var randomString = require("../node/utils/randomstring");
|
||||
var randomString = CommonCode.require('/pad_utils').randomString;
|
||||
var AttributePoolFactory = CommonCode.require("/AttributePoolFactory");
|
||||
|
||||
var settingsFile = process.argv[2];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue