@@ -52,14 +52,14 @@ UI.aclControl.preventBrowserDropEvents = function (document) {
5252 document . addEventListener ( 'dragover' , preventDrag , false )
5353}
5454
55- UI . aclControl . shortNameForFolder = function ( x ) {
55+ UI . aclControl . shortNameForFolder = function ( x ) {
5656 var str = x . uri
5757 if ( str . slice ( - 1 ) === '/' ) {
58- str = str . slice ( 0 , - 1 )
58+ str = str . slice ( 0 , - 1 )
5959 }
6060 var slash = str . lastIndexOf ( '/' )
61- if ( slash >= 0 ) {
62- str = str . slice ( slash + 1 )
61+ if ( slash >= 0 ) {
62+ str = str . slice ( slash + 1 )
6363 }
6464 return str || '/'
6565}
@@ -328,7 +328,7 @@ UI.aclControl.ACLControlBox5 = function (subject, dom, noun, kb, callback) {
328328 console . log ( 'Dropped URI list (2): ' + uris )
329329 if ( uris ) {
330330 uris . map ( function ( u ) {
331- var saveAndRestoreUI = function ( ) {
331+ var saveAndRestoreUI = function ( ) {
332332 if ( ! ( combo in byCombo ) ) {
333333 byCombo [ combo ] = [ ]
334334 }
@@ -346,9 +346,9 @@ UI.aclControl.ACLControlBox5 = function (subject, dom, noun, kb, callback) {
346346 var res = agentTriage ( u ) // eg 'agent', 'origin', agentClass'
347347 if ( ! res ) {
348348 console . log ( ' looking up dropped thing ' + u )
349- kb . fetcher . nowOrWhenFetched ( u , function ( ok , mess ) {
349+ kb . fetcher . nowOrWhenFetched ( u , function ( ok , mess ) {
350350 if ( ! ok ) {
351- console . log ( 'Error looking up dropped thing ' + u + ': ' + mess )
351+ console . log ( 'Error looking up dropped thing ' + u + ': ' + mess )
352352 } else {
353353 var res = agentTriage ( u )
354354 if ( ! res ) {
0 commit comments