Clean up illegal trailing commas in object initializers
authordbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 17 Mar 2008 01:16:09 +0000 (01:16 +0000)
committerdbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 17 Mar 2008 01:16:09 +0000 (01:16 +0000)
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
Open-ILS/xul/staff_client/server/circ/copy_status.js
Open-ILS/xul/staff_client/server/circ/in_house_use.js
Open-ILS/xul/staff_client/server/circ/print_list_template_editor.js
Open-ILS/xul/staff_client/server/circ/util.js

index 141cdd4..080f616 100644 (file)
@@ -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 } );
 
-       },
+       }
 
 }
 
index 6116d23..79dd8c6 100644 (file)
@@ -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);
index 8fae509..b369d02 100644 (file)
@@ -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
                                }
                        );
index 446687c..17786ba 100644 (file)
@@ -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);
                }
-       },
+       }
 
 }
 
index 913e283..938f411 100644 (file)
@@ -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;
-                                       },
+                                       }
                                }
                        }
                );