summaryrefslogtreecommitdiffstats
path: root/devtools/client/framework/test/code_reload_2.js
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/client/framework/test/code_reload_2.js')
-rw-r--r--devtools/client/framework/test/code_reload_2.js16
1 files changed, 16 insertions, 0 deletions
diff --git a/devtools/client/framework/test/code_reload_2.js b/devtools/client/framework/test/code_reload_2.js
new file mode 100644
index 0000000000..0e1be97a6a
--- /dev/null
+++ b/devtools/client/framework/test/code_reload_2.js
@@ -0,0 +1,16 @@
+/* Any copyright is dedicated to the Public Domain.
+ http://creativecommons.org/publicdomain/zero/1.0/ */
+
+// Original source code for the inline source map test.
+// The generated file was made with
+// webpack --devtool source-map code_reload_2.js code_bundle_reload_2.js
+// perl -pi -e 's/code_bundle_reload_2.js.map/sjs_code_bundle_reload_map.sjs/' \
+// code_bundle_reload_2.js
+
+"use strict";
+
+function f() {
+ console.log("The second version of the script");
+}
+
+f();