From 89ddd6b5aa405288dfc4970c5ff73ad7736e9e6b Mon Sep 17 00:00:00 2001 From: dbs Date: Mon, 17 Mar 2008 01:16:09 +0000 Subject: [PATCH] Clean up illegal trailing commas in object initializers git-svn-id: svn://svn.open-ils.org/ILS/trunk@9059 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/server/circ/checkin.js | 15 +++++++-------- .../xul/staff_client/server/circ/copy_status.js | 4 ++-- .../xul/staff_client/server/circ/in_house_use.js | 8 ++++---- .../server/circ/print_list_template_editor.js | 12 ++++++------ Open-ILS/xul/staff_client/server/circ/util.js | 6 +++--- 5 files changed, 22 insertions(+), 23 deletions(-) diff --git a/Open-ILS/xul/staff_client/server/circ/checkin.js b/Open-ILS/xul/staff_client/server/circ/checkin.js index 141cdd4868..080f616da4 100644 --- a/Open-ILS/xul/staff_client/server/circ/checkin.js +++ b/Open-ILS/xul/staff_client/server/circ/checkin.js @@ -29,10 +29,10 @@ circ.checkin.prototype = { 'status' : { 'hidden' : false }, 'route_to' : { 'hidden' : false }, 'alert_message' : { 'hidden' : false }, - 'checkin_time' : { 'hidden' : false }, + 'checkin_time' : { 'hidden' : false } }, { - 'except_these' : [ 'uses', 'checkin_time_full' ], + 'except_these' : [ 'uses', 'checkin_time_full' ] } ); @@ -76,8 +76,7 @@ circ.checkin.prototype = { } catch(E) { alert('FIXME: ' + E); } - }, - + } } ); @@ -260,7 +259,7 @@ circ.checkin.prototype = { ['command'], function() { } - ], + ] } } ); @@ -365,10 +364,10 @@ circ.checkin.prototype = { 'acp' : checkin.copy, 'status' : checkin.status, 'route_to' : checkin.route_to, - 'message' : checkin.message, + 'message' : checkin.message } }, - 'to_top' : true, + 'to_top' : true //I could override map_row_to_column here } ); @@ -433,7 +432,7 @@ circ.checkin.prototype = { JSAN.use('cat.util'); cat.util.spawn_copy_editor( { 'copy_ids' : list, 'edit' : 1 } ); - }, + } } diff --git a/Open-ILS/xul/staff_client/server/circ/copy_status.js b/Open-ILS/xul/staff_client/server/circ/copy_status.js index 6116d23305..79dd8c6105 100644 --- a/Open-ILS/xul/staff_client/server/circ/copy_status.js +++ b/Open-ILS/xul/staff_client/server/circ/copy_status.js @@ -1063,10 +1063,10 @@ circ.copy_status.prototype = { 'acn' : details.volume, 'atc' : details.transit, 'circ' : details.circ, - 'ahr' : details.hold, + 'ahr' : details.hold } }, - 'to_top' : true, + 'to_top' : true }; if (!refresh) { var nparams = obj.list.append(params); diff --git a/Open-ILS/xul/staff_client/server/circ/in_house_use.js b/Open-ILS/xul/staff_client/server/circ/in_house_use.js index 8fae509dcb..b369d02ee2 100644 --- a/Open-ILS/xul/staff_client/server/circ/in_house_use.js +++ b/Open-ILS/xul/staff_client/server/circ/in_house_use.js @@ -25,7 +25,7 @@ circ.in_house_use.prototype = { 'status' : { 'hidden' : false }, 'location' : { 'hidden' : false }, 'call_number' : { 'hidden' : false }, - 'uses' : { 'hidden' : false }, + 'uses' : { 'hidden' : false } } ); @@ -178,7 +178,7 @@ circ.in_house_use.prototype = { ['command'], function() { } - ], + ] } } ); @@ -302,10 +302,10 @@ circ.in_house_use.prototype = { 'my' : { 'mvr' : mods, 'acp' : copy, - 'uses' : result.length, + 'uses' : result.length } }, - 'to_top' : true, + 'to_top' : true //I could override map_row_to_column here } ); diff --git a/Open-ILS/xul/staff_client/server/circ/print_list_template_editor.js b/Open-ILS/xul/staff_client/server/circ/print_list_template_editor.js index 446687c2be..17786bac46 100644 --- a/Open-ILS/xul/staff_client/server/circ/print_list_template_editor.js +++ b/Open-ILS/xul/staff_client/server/circ/print_list_template_editor.js @@ -38,8 +38,8 @@ circ.print_list_template_editor.prototype = { 'change_given' : '0.00', 'credit_given' : '0.00', 'note' : "We refunded this because...", - 'new_balance' : '16.36', - }, + 'new_balance' : '16.36' + } } this.test_list = { @@ -85,7 +85,7 @@ circ.print_list_template_editor.prototype = { 'offline_checkout' : [], 'offline_checkin' : [], 'offline_renew' : [], - 'offline_inhouse_use' : [], + 'offline_inhouse_use' : [] } obj.controller_init(); @@ -284,7 +284,7 @@ circ.print_list_template_editor.prototype = { obj.controller.view.template_type_menu = ml; } } - ], + ] } } @@ -311,7 +311,7 @@ circ.print_list_template_editor.prototype = { 'type' : this.controller.view.template_type_menu.value, 'list' : list, 'data' : data, - 'sample_frame' : this.controller.view.sample, + 'sample_frame' : this.controller.view.sample }; JSAN.use('util.print'); var print = new util.print(); print.tree_list( params ); @@ -370,7 +370,7 @@ circ.print_list_template_editor.prototype = { } catch(E) { this.error.standard_unexpected_error_alert(document.getElementById('circStrings').getString('staff.circ.print_list_template.import.error'),E); } - }, + } } diff --git a/Open-ILS/xul/staff_client/server/circ/util.js b/Open-ILS/xul/staff_client/server/circ/util.js index 913e283ede..938f411e97 100644 --- a/Open-ILS/xul/staff_client/server/circ/util.js +++ b/Open-ILS/xul/staff_client/server/circ/util.js @@ -872,7 +872,7 @@ circ.util.columns = function(modify,params) { 'flex' : 1, 'primary' : false, 'hidden' : true, - 'render' : function(my) { return my.circ.xact_finish(); }, + 'render' : function(my) { return my.circ.xact_finish(); } }, { 'persist' : 'hidden width ordinal', @@ -1407,7 +1407,7 @@ circ.util.hold_columns = function(modify,params) { 'flex' : 0, 'primary' : false, 'hidden' : true, - 'render' : function(my) { return my.ahr.hold_type(); }, + 'render' : function(my) { return my.ahr.hold_type(); } }, { 'persist' : 'hidden width ordinal', @@ -1906,7 +1906,7 @@ circ.util.checkin_via_barcode = function(session,params,backdate,auto_print,asyn }, '7010' : function(r) { return r.payload; - }, + } } } ); -- 2.43.2