Address minor code formatting consistency
authorDan Scott <dan@coffeecode.net>
Mon, 18 Jul 2011 15:00:26 +0000 (11:00 -0400)
committerDan Scott <dan@coffeecode.net>
Mon, 18 Jul 2011 15:00:26 +0000 (11:00 -0400)
The rest of the code has spaces around the conditional clause in an if()
statement, so do likewise here.

Signed-off-by: Dan Scott <dan@coffeecode.net>
Open-ILS/xul/staff_client/server/cat/spine_labels.js

index 22b64ca..f993615 100644 (file)
                 /* take the call number and split it on whitespace */
                 callnum = String(volume.label());
             }
-            /* handle spine lables differently if using LC */
-            if(volume.label_class() == 3){
+            /* handle spine labels differently if using LC */
+            if (volume.label_class() == 3) {
                 /* for LC, split between classification subclass letters and numbers */
                 var lc_class_re = /^([A-Z]{1,3})([0-9]+.*?)$/i;
                 var lc_class_match = lc_class_re.exec(callnum);