Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: lib/punycode.js

Issue 29371995: Issue 4803 - Fix punycode module exports (Closed)
Patch Set: Created Jan. 16, 2017, 8:58 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/punycode.js
diff --git a/lib/punycode.js b/lib/punycode.js
index 27ec978347f75b04c1c7d1ccfce7aafbc2f4d890..0ab896a7bbecccc64e81f19b1617a03b9052d454 100644
--- a/lib/punycode.js
+++ b/lib/punycode.js
@@ -437,7 +437,7 @@ const toASCII = function(input) {
/*--------------------------------------------------------------------------*/
/** Define the public API */
-exports = {
+module.exports = {
/**
* A string representing the current Punycode.js version number.
* @memberOf punycode
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld