Skip to content

Commit 137873e

Browse files
author
Tim Berners-Lee
committed
cosmetic rename to avoid confusion of variable name with very common 'panes' variable
1 parent 64059e5 commit 137873e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/create.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ module.exports = {
3131
** (suppresses asking for a full URI or workspace)
3232
**
3333
*/
34-
function newThingUI (context, panes) {
34+
function newThingUI (context, thePanes) {
3535
const dom = context.dom
3636
const div = context.div
3737
if (context.me && !context.me.uri) throw new Error('newThingUI: Invalid userid: ' + context.me)
@@ -132,8 +132,8 @@ function newThingUI (context, panes) {
132132
} // makeNewAppInstance
133133

134134
var iconArray = []
135-
for (var pn in panes) {
136-
var pane = panes[pn]
135+
for (var pn in thePanes) {
136+
var pane = thePanes[pn]
137137
if (pane.mintNew) {
138138
var icon = context.div.appendChild(dom.createElement('img'))
139139
icon.setAttribute('src', pane.icon)

0 commit comments

Comments
 (0)