From 4b4ff007e9e7bad95ae9e0a16e38d8299f9e402b Mon Sep 17 00:00:00 2001 From: Alberto Leal Date: Mon, 15 Dec 2014 00:34:14 -0500 Subject: [PATCH] Clarify polyfill usage in node env --- doc/polyfill.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/polyfill.md b/doc/polyfill.md index 631f9adb73..4249e038dc 100644 --- a/doc/polyfill.md +++ b/doc/polyfill.md @@ -19,6 +19,12 @@ application. require("6to5/polyfill"); ``` +Fortunately, this is automatically loaded when using: + +```javascript +require("6to5/register"); +``` + ### Browser Available from the `browser-polyfill.js` file within the 6to5 directory of an