summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Van Doorn <vandoorn.nick@gmail.com>2018-10-11 17:39:00 -0700
committerNick Van Doorn <vandoorn.nick@gmail.com>2018-10-11 17:39:00 -0700
commit2160b7265dc975fc3374b3bd9795e125f9115f9e (patch)
tree7af1dc8cfbf780d959bf0a2cd08e41760c96e8d1
parent396c92692acf466f9f11b32bd473f07f9394d6f4 (diff)
Specify filename at top
-rw-r--r--demos/12-manual-code-splitting-a.example.js1
-rw-r--r--demos/12-manual-code-splitting-b.example.js1
2 files changed, 2 insertions, 0 deletions
diff --git a/demos/12-manual-code-splitting-a.example.js b/demos/12-manual-code-splitting-a.example.js
index 8bb040a..e3ea5fe 100644
--- a/demos/12-manual-code-splitting-a.example.js
+++ b/demos/12-manual-code-splitting-a.example.js
@@ -1,3 +1,4 @@
+// 12-manual-code-splitting-a.example.js
const COST_OF_ITEM = 15
// We use this immediately invoked anonymous function
// to create a private, non global scope (usually called a module).
diff --git a/demos/12-manual-code-splitting-b.example.js b/demos/12-manual-code-splitting-b.example.js
index c5a08ca..1754f25 100644
--- a/demos/12-manual-code-splitting-b.example.js
+++ b/demos/12-manual-code-splitting-b.example.js
@@ -1,3 +1,4 @@
+// 12-manual-code-splitting-b.example.js
let AccountModule = (function() {
let customerBalance = {}
return {