mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 16:06:16 -04:00
restructure: Prefix bin/
and tests/
with src/
This is a follow-up to commit
2ea8ea1275
.
This commit is contained in:
parent
2ea8ea1275
commit
8b28e00784
51 changed files with 182 additions and 170 deletions
|
@ -72,7 +72,8 @@ const flatten1 = (array) => array.reduce((a, b) => a.concat(b), []);
|
|||
// there will be an unhandled promise rejection depending on whether the the subsequent attempt is a
|
||||
// duplicate (same value or error) or different, respectively.
|
||||
//
|
||||
// See the tests in tests/backend/specs/hooks.js for examples of supported and prohibited behaviors.
|
||||
// See the tests in src/tests/backend/specs/hooks.js for examples of supported and prohibited
|
||||
// behaviors.
|
||||
//
|
||||
const callHookFnSync = (hook, context) => {
|
||||
checkDeprecation(hook);
|
||||
|
@ -226,7 +227,8 @@ exports.callAll = (hookName, context) => {
|
|||
// effect except either an error message is logged or an Error object is thrown depending on whether
|
||||
// the the subsequent attempt is a duplicate (same value or error) or different, respectively.
|
||||
//
|
||||
// See the tests in tests/backend/specs/hooks.js for examples of supported and prohibited behaviors.
|
||||
// See the tests in src/tests/backend/specs/hooks.js for examples of supported and prohibited
|
||||
// behaviors.
|
||||
//
|
||||
const callHookFnAsync = async (hook, context) => {
|
||||
checkDeprecation(hook);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue