File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ export default class AcademicQuery extends Morph {
1818 // irgendwo unter ihm Text ändert
1919 var observer = new MutationObserver ( ( mutations ) => {
2020 mutations . forEach ( async mutation => {
21- lively . notify ( "SUPER observation" , mutation . type )
21+ // lively.notify("SUPER observation", mutation.type)
2222 clearTimeout ( timeout ) ;
2323 timeout = setTimeout ( async ( ) => {
2424 if ( mutation . type == "childList" ) {
@@ -72,9 +72,10 @@ export default class AcademicQuery extends Morph {
7272
7373 pane . innerHTML = ""
7474 pane . appendChild ( < div >
75- { input } { updateButton } { searchButton }
76- { queryView }
77- </ div > ) ;
75+ < h1 > Academic Query:</ h1 >
76+ { input } { updateButton } { searchButton }
77+ { queryView }
78+ </ div > ) ;
7879 }
7980
8081 viewToQuery ( ) {
Original file line number Diff line number Diff line change @@ -297,7 +297,10 @@ export default class AcademicSubquery extends Morph {
297297 val = val . slice ( 0 , val . length - 1 ) ; // remove last whitespace
298298
299299 // TODO check if attribute has string value
300- var stringAttributes = { A : "Author" }
300+ var stringAttributes = {
301+ "A" : "Author" ,
302+ "AA.AuN" : "Author Name" ,
303+ }
301304 if ( attr . slice ( 0 , attr . length - 1 ) in stringAttributes ) {
302305 val = "'" + val + "'"
303306 }
You can’t perform that action at this time.
0 commit comments