aboutsummaryrefslogtreecommitdiff
path: root/ext/js/templates/template-renderer-proxy.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/js/templates/template-renderer-proxy.js')
-rw-r--r--ext/js/templates/template-renderer-proxy.js14
1 files changed, 9 insertions, 5 deletions
diff --git a/ext/js/templates/template-renderer-proxy.js b/ext/js/templates/template-renderer-proxy.js
index e4814ec4..c1f5a5bf 100644
--- a/ext/js/templates/template-renderer-proxy.js
+++ b/ext/js/templates/template-renderer-proxy.js
@@ -16,8 +16,8 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-import {generateId} from '../core/utilities.js';
import {ExtensionError} from '../core/extension-error.js';
+import {generateId} from '../core/utilities.js';
export class TemplateRendererProxy {
constructor() {
@@ -220,10 +220,14 @@ export class TemplateRendererProxy {
}
};
- let timer = (typeof timeout === 'number' ? setTimeout(() => {
- cleanup();
- reject(new Error('Timeout'));
- }, timeout) : null);
+ let timer = (
+ typeof timeout === 'number' ?
+ setTimeout(() => {
+ cleanup();
+ reject(new Error('Timeout'));
+ }, timeout) :
+ null
+ );
this._invocations.add(invocation);