@@ -1217,8 +1217,9 @@ export function makeDescription (
12171217 }
12181218
12191219 const editable = kb . updater . editable ( dataDoc . uri )
1220+ let submit
12201221 if ( editable ) {
1221- var submit = widgets . continueButton ( dom , saveChange )
1222+ submit = widgets . continueButton ( dom , saveChange )
12221223 submit . disabled = true // until the filled has been modified
12231224 submit . style . visibility = 'hidden'
12241225 submit . style . float = 'right'
@@ -1293,7 +1294,7 @@ export function makeSelectForOptions (
12931294 return errorMessageBlock ( dom , "Selector: can't mint new with no subform." )
12941295 }
12951296 log . debug ( 'makeSelectForOptions: dataDoc=' + dataDoc )
1296-
1297+ let actual
12971298 const getActual = function ( ) {
12981299 actual = { }
12991300 if ( predicate . sameTerm ( ns . rdf ( 'type' ) ) ) {
@@ -1305,7 +1306,7 @@ export function makeSelectForOptions (
13051306 }
13061307 return actual
13071308 }
1308- var actual = getActual ( )
1309+ actual = getActual ( )
13091310
13101311 const onChange = function ( _e ) {
13111312 select . disabled = true // until data written back - gives user feedback too
@@ -1316,10 +1317,10 @@ export function makeSelectForOptions (
13161317 ds . push ( $rdf . st ( subject , predicate , t , dataDoc ) )
13171318 }
13181319 }
1320+ let newObject
13191321 for ( let i = 0 ; i < select . options . length ; i ++ ) {
13201322 const opt = select . options [ i ]
13211323 if ( opt . selected && opt . AJAR_mint ) {
1322- var newObject
13231324 if ( options . mintClass ) {
13241325 const thisForm = promptForNew (
13251326 dom ,
0 commit comments