File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -176,7 +176,7 @@ function module_code(library_namespace) {
176176 this . running = true ;
177177 }
178178
179- // 權杖
179+ // 權杖 TODO: use .tokens
180180 this . token = {
181181 // lgusername
182182 lgname : user_name ,
Original file line number Diff line number Diff line change @@ -1506,7 +1506,10 @@ function module_code(library_namespace) {
15061506 // 取得定位各布局項目所需元素。
15071507 // TODO: Not yet tested
15081508 function setup_layout_elements ( callback , options ) {
1509- var session = wiki_API . session_of_options ( options ) ;
1509+ throw new Error ( 'NYI' ) ;
1510+ options = library_namespace . setup_options ( options ) ;
1511+
1512+ var session = /* wiki_API.session_of_options(options) || */ this ;
15101513 if ( ! session . configuration )
15111514 session . configuration = Object . create ( null ) ;
15121515 var layout_index = session . configuration . layout_index ;
@@ -2234,7 +2237,7 @@ function module_code(library_namespace) {
22342237 }
22352238
22362239 template_name_list = template_order_of_layout [ location ]
2237- //
2240+ // normalize template names
22382241 = template_name_list . filter ( function ( page_name ) {
22392242 page_name = page_name . trim ( ) ;
22402243 if ( ! page_name )
You can’t perform that action at this time.
0 commit comments