summaryrefslogtreecommitdiffstats
path: root/toolkit/modules/third_party/jsesc/README
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/modules/third_party/jsesc/README')
-rw-r--r--toolkit/modules/third_party/jsesc/README12
1 files changed, 12 insertions, 0 deletions
diff --git a/toolkit/modules/third_party/jsesc/README b/toolkit/modules/third_party/jsesc/README
new file mode 100644
index 0000000000..fd74412f5f
--- /dev/null
+++ b/toolkit/modules/third_party/jsesc/README
@@ -0,0 +1,12 @@
+This code comes from an externally managed library, available at
+<https://github.com/mathiasbynens/jsesc>. Bugs should be reported directly
+upstream and integrated back here.
+
+In order to regenerate this file, you need to do the following:
+
+ $ git clone git@github.com:mathiasbynens/jsesc.git && cd jsesc
+ $ grunt template
+ $ export MOZ_JSESC="../mozilla-central/toolkit/modules/third_party/jsesc"
+ $ cat $MOZ_JSESC/fx-header jsesc.js $MOZ_JSESC/fx-footer > $MOZ_JSESC/jsesc.mjs
+
+You will then need to change the penulitmate line from `}(this));` to `}(global));`