Null services
:
:
:
: /modules/core/multi-tenancy/lib/null-services.js
: https://github.com/DecentCMS/DecentCMS/blob/master/modules/core/multi-tenancy/lib/null-services.js
NullServices
Exposes trivial implementations of common services so there is a reasonable fallback if no service of that type is registered.
Kind: global variable
- NullServices
- .log
- .localization(s) ⇒
string
NullServices.log
A trivial log service that does nothing.
Kind: static property of NullServices
NullServices.localization(s) ⇒ string
A trivial localization service that returns the string unchanged.
Kind: static method of NullServices
Returns: string
- The unchanged string.
Param | Type | Description |
---|---|---|
s | string |
The string to localize. |