File tree Expand file tree Collapse file tree 4 files changed +6
-15
lines changed Expand file tree Collapse file tree 4 files changed +6
-15
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ crate-type = ["cdylib", "rlib"]
14
14
default = [" console_error_panic_hook" ]
15
15
16
16
[dependencies ]
17
- wasm-bindgen = " =0.2.84 "
17
+ wasm-bindgen = " =0.2.93 "
18
18
19
19
# The `console_error_panic_hook` crate provides better debugging of panics by
20
20
# logging them with `console.error`. This is great for development, but requires
Original file line number Diff line number Diff line change @@ -109,11 +109,6 @@ fn graph_to_query(connections: Vec<Connection>) -> String {
109
109
} )
110
110
. collect ( ) ;
111
111
112
-
113
-
114
-
115
-
116
-
117
112
format ! (
118
113
"{}\n SELECT {} WHERE {{\n {}}}" ,
119
114
prefix_list, projection_list, where_clause
Original file line number Diff line number Diff line change @@ -123,14 +123,10 @@ export async function createEditor(container: HTMLElement) {
123
123
// in order to force the editor to notice the change,
124
124
// I need to create a copy of the connection,
125
125
// change the entity and add it back.
126
- const thisConnection = deepCopy ( editor . getConnection ( id ) ) ;
127
-
128
- if ( thisConnection ) {
129
- thisConnection . property = value
130
- editor . removeConnection ( id ) . then ( ( ) => {
131
- editor . addConnection ( thisConnection ) ;
132
- } ) ;
133
- }
126
+ props . data . property = value ;
127
+ editor . getConnections ( ) . forEach ( ( c ) => {
128
+ area . update ( "connection" , c . id )
129
+ } )
134
130
}
135
131
} ) ;
136
132
}
Original file line number Diff line number Diff line change @@ -286,7 +286,7 @@ class WikibaseDataService {
286
286
} else {
287
287
labels [ id ] = id ;
288
288
}
289
- console . log ( 'converting property id to label:' , id , labels [ id ] ) ;
289
+ // console.log('converting property id to label:', id, labels[id]);
290
290
}
291
291
} else {
292
292
console . error ( 'No entities found in response:' , response . data ) ;
You can’t perform that action at this time.
0 commit comments