aboutsummaryrefslogtreecommitdiff
path: root/node_modules/express-handlebars/lib/utils.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/express-handlebars/lib/utils.js')
-rw-r--r--node_modules/express-handlebars/lib/utils.js29
1 files changed, 0 insertions, 29 deletions
diff --git a/node_modules/express-handlebars/lib/utils.js b/node_modules/express-handlebars/lib/utils.js
deleted file mode 100644
index a16da39..0000000
--- a/node_modules/express-handlebars/lib/utils.js
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * Copyright (c) 2014, Yahoo Inc. All rights reserved.
- * Copyrights licensed under the New BSD License.
- * See the accompanying LICENSE file for terms.
- */
-
-'use strict';
-
-exports.assign = Object.assign || require('object.assign');
-exports.passError = passError;
-exports.passValue = passValue;
-
-// -----------------------------------------------------------------------------
-
-function passError(callback) {
- return function (reason) {
- setImmediate(function () {
- callback(reason);
- });
- };
-}
-
-function passValue(callback) {
- return function (value) {
- setImmediate(function () {
- callback(null, value);
- });
- };
-}