From fa3b24e5b4aa5a216de977b6963a95a87ea761ce Mon Sep 17 00:00:00 2001 From: Sebastian McKenzie Date: Sun, 16 Nov 2014 18:49:29 +1100 Subject: [PATCH] don't lazy set templates, can't even remember why i did this --- lib/6to5/util.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/6to5/util.js b/lib/6to5/util.js index 2745955309..4425c28036 100644 --- a/lib/6to5/util.js +++ b/lib/6to5/util.js @@ -276,9 +276,5 @@ try { } catch (err) { if (err.code !== "MODULE_NOT_FOUND") throw err; - Object.defineProperty(exports, "templates", { - get: function () { - return exports.templates = loadTemplates(); - } - }); + exports.templates = loadTemplates(); }