changeset 4516:b3f12c354e87

javascript: remove nice trailing comma to please IE8 (Issue #39)
author Mads Kiilerich <madski@unity3d.com>
date Wed, 24 Sep 2014 14:24:40 +0200
parents f3fa50c89783
children 2f18ebfead0c
files kallithea/public/js/base.js kallithea/templates/admin/my_account/my_account_api_keys.html kallithea/templates/admin/my_account/my_account_repos.html kallithea/templates/admin/my_account/my_account_watched.html kallithea/templates/admin/repo_groups/repo_group_edit_advanced.html kallithea/templates/admin/repo_groups/repo_groups.html kallithea/templates/admin/repos/repo_add_base.html kallithea/templates/admin/repos/repo_edit_advanced.html kallithea/templates/admin/repos/repo_edit_fork.html kallithea/templates/admin/repos/repos.html kallithea/templates/admin/settings/settings_email.html kallithea/templates/admin/settings/settings_hooks.html kallithea/templates/admin/settings/settings_system.html kallithea/templates/admin/user_groups/user_group_edit_advanced.html kallithea/templates/admin/user_groups/user_groups.html kallithea/templates/admin/users/user_edit_api_keys.html kallithea/templates/admin/users/users.html kallithea/templates/base/base.html kallithea/templates/base/root.html kallithea/templates/bookmarks/bookmarks.html kallithea/templates/branches/branches.html kallithea/templates/changelog/changelog.html kallithea/templates/changeset/changeset.html kallithea/templates/compare/compare_cs.html kallithea/templates/compare/compare_diff.html kallithea/templates/files/diff_2way.html kallithea/templates/files/files.html kallithea/templates/forks/fork.html kallithea/templates/index_base.html kallithea/templates/journal/journal.html kallithea/templates/password_reset.html kallithea/templates/pullrequests/pullrequest.html kallithea/templates/register.html kallithea/templates/search/search.html kallithea/templates/summary/statistics.html kallithea/templates/summary/summary.html kallithea/templates/switch_to_list.html kallithea/templates/tags/tags.html
diffstat 38 files changed, 115 insertions(+), 120 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/public/js/base.js	Sat Sep 13 18:46:09 2014 +0000
+++ b/kallithea/public/js/base.js	Wed Sep 24 14:24:40 2014 +0200
@@ -393,7 +393,7 @@
             if (o.status != 0) {
                 alert("Ajax GET error: " + o.statusText);
             };
-        },
+        }
     };
 
     var request = YAHOO.util.Connect.asyncRequest('GET', sUrl, callback);
@@ -409,7 +409,7 @@
         success: success,
         failure: function (o) {
             alert("Ajax POST error: " + o.statusText);
-        },
+        }
     };
     var postData = _toQueryString(postData);
     var request = YAHOO.util.Connect.asyncRequest('POST', sUrl, callback, postData);
@@ -989,7 +989,7 @@
             mode: "null",
             lineNumbers: true,
             indentUnit: 4,
-            autofocus: true,
+            autofocus: true
         });
     $('#reset').click(function(e){
             window.location=resetUrl;
@@ -1082,7 +1082,7 @@
         },
         failure:function(o){
             alert("deleteNotification failure");
-        },
+        }
     };
     var postData = '_method=delete';
     var sUrl = url.replace('__NOTIFICATION_ID__',notification_id);
@@ -1100,7 +1100,7 @@
         },
         failure:function(o){
             alert("readNotification failure");
-        },
+        }
     };
     var postData = '_method=put';
     var sUrl = url.replace('__NOTIFICATION_ID__',notification_id);
@@ -1282,7 +1282,7 @@
         memberDS: memberDS,
         ownerDS: ownerDS,
         membersAC: membersAC,
-        ownerAC: ownerAC,
+        ownerAC: ownerAC
     };
 }
 
@@ -1741,7 +1741,7 @@
         },
         failure: function (o) {
             alert(_TM['Failed to revoke permission'] + ": " + o.status);
-        },
+        }
     };
     query_params = {
         '_method': 'delete'
@@ -2092,7 +2092,7 @@
     myDataSource.responseType = YAHOO.util.DataSource.TYPE_JSON;
     myDataSource.responseSchema = {
         resultsList: "records",
-        fields: fields,
+        fields: fields
         };
     myDataSource.doBeforeCallback = function(req, raw, res, cb) {
         // This is the filter function
@@ -2121,7 +2121,7 @@
         MSG_SORTDESC: _TM['MSG_SORTDESC'],
         MSG_EMPTY: _TM['MSG_EMPTY'],
         MSG_ERROR: _TM['MSG_ERROR'],
-        MSG_LOADING: _TM['MSG_LOADING'],
+        MSG_LOADING: _TM['MSG_LOADING']
         });
     myDataTable.subscribe('postRenderEvent',function(oArgs) {
         tooltip_activate();
--- a/kallithea/templates/admin/my_account/my_account_api_keys.html	Sat Sep 13 18:46:09 2014 +0000
+++ b/kallithea/templates/admin/my_account/my_account_api_keys.html	Wed Sep 24 14:24:40 2014 +0200
@@ -77,7 +77,7 @@
 <script>
     $(document).ready(function(){
         $("#lifetime").select2({
-            'dropdownAutoWidth': true,
+            'dropdownAutoWidth': true
         });
     })
 </script>
--- a/kallithea/templates/admin/my_account/my_account_repos.html	Sat Sep 13 18:46:09 2014 +0000
+++ b/kallithea/templates/admin/my_account/my_account_repos.html	Wed Sep 24 14:24:40 2014 +0200
@@ -18,7 +18,7 @@
             {key:"name"},
             {key:"last_changeset"},
             {key:"last_rev_raw"},
-            {key:"action"},
+            {key:"action"}
             ]
         };
     myDataSource.doBeforeCallback = function(req,raw,res,cb) {
@@ -47,7 +47,7 @@
               sortOptions: { sortFunction: nameSort }},
           {key:"last_changeset",label:"${_('Tip')}",sortable:true,
               sortOptions: { sortFunction: revisionSort }},
-          {key:"action",label:"${_('Action')}",sortable:false},
+          {key:"action",label:"${_('Action')}",sortable:false}
       ];
 
       var myDataTable = new YAHOO.widget.DataTable("repos_list_wrap", myColumnDefs, myDataSource,{
@@ -58,7 +58,7 @@
         MSG_SORTDESC:"${_('Click to sort descending')}",
         MSG_EMPTY:"${_('No records found.')}",
         MSG_ERROR:"${_('Data error.')}",
-        MSG_LOADING:"${_('Loading...')}",
+        MSG_LOADING:"${_('Loading...')}"
       }
       );
       myDataTable.subscribe('postRenderEvent',function(oArgs) {
--- a/kallithea/templates/admin/my_account/my_account_watched.html	Sat Sep 13 18:46:09 2014 +0000
+++ b/kallithea/templates/admin/my_account/my_account_watched.html	Wed Sep 24 14:24:40 2014 +0200
@@ -18,7 +18,7 @@
             {key:"name"},
             {key:"last_changeset"},
             {key:"last_rev_raw"},
-            {key:"action"},
+            {key:"action"}
             ]
         };
     myDataSource.doBeforeCallback = function(req,raw,res,cb) {
@@ -47,7 +47,7 @@
               sortOptions: { sortFunction: nameSort }},
           {key:"last_changeset",label:"${_('Tip')}",sortable:true,
               sortOptions: { sortFunction: revisionSort }},
-          {key:"action",label:"${_('Action')}",sortable:false},
+          {key:"action",label:"${_('Action')}",sortable:false}
       ];
 
       var myDataTable = new YAHOO.widget.DataTable("repos_list_wrap", myColumnDefs, myDataSource,{
@@ -58,7 +58,7 @@
         MSG_SORTDESC:"${_('Click to sort descending')}",
         MSG_EMPTY:"${_('No records found.')}",
         MSG_ERROR:"${_('Data error.')}",
-        MSG_LOADING:"${_('Loading...')}",
+        MSG_LOADING:"${_('Loading...')}"
       }
       );
       myDataTable.subscribe('postRenderEvent',function(oArgs) {
--- a/kallithea/templates/admin/repo_groups/repo_group_edit_advanced.html	Sat Sep 13 18:46:09 2014 +0000
+++ b/kallithea/templates/admin/repo_groups/repo_group_edit_advanced.html	Wed Sep 24 14:24:40 2014 +0200
@@ -7,7 +7,7 @@
     (_('Total repositories'), c.repo_group.repositories_recursive_count, ''),
     (_('Children groups'), c.repo_group.children.count(), ''),
     (_('Created on'), h.fmt_date(c.repo_group.created_on), ''),
-    (_('Owner'), h.person(c.repo_group.user.username), ''),
+    (_('Owner'), h.person(c.repo_group.user.username), '')
  ]
 %>
 %for dt, dd, tt in elems:
--- a/kallithea/templates/admin/repo_groups/repo_groups.html	Sat Sep 13 18:46:09 2014 +0000
+++ b/kallithea/templates/admin/repo_groups/repo_groups.html	Wed Sep 24 14:24:40 2014 +0200
@@ -43,15 +43,14 @@
     {key: "desc"},
     {key: "repos"},
     {key: "owner"},
-    {key: "action"},
-
+    {key: "action"}
   ];
   var column_defs = [
     {key:"group_name",label:"${_('Name')}",sortable:true, sortOptions: { sortFunction: nameSort }},
     {key:"desc",label:"${_('Description')}",sortable:true},
     {key:"repos",label:"${_('Number of toplevel repositories')}",sortable:true},
     {key:"owner",label:"${_('Owner')}",sortable:true},
-    {key:"action",label:"${_('Action')}",sortable:false},
+    {key:"action",label:"${_('Action')}",sortable:false}
   ];
   var counter = YUD.get('repo_group_count');
   var sort_key = "group_name";
--- a/kallithea/templates/admin/repos/repo_add_base.html	Sat Sep 13 18:46:09 2014 +0000
+++ b/kallithea/templates/admin/repos/repo_add_base.html	Wed Sep 24 14:24:40 2014 +0200
@@ -117,10 +117,10 @@
         })
 
         $("#repo_type").select2({
-            'minimumResultsForSearch': -1,
+            'minimumResultsForSearch': -1
         });
         $("#repo_landing_rev").select2({
-            'minimumResultsForSearch': -1,
+            'minimumResultsForSearch': -1
         });
         $('#repo_name').focus();
     })
--- a/kallithea/templates/admin/repos/repo_edit_advanced.html	Sat Sep 13 18:46:09 2014 +0000
+++ b/kallithea/templates/admin/repos/repo_edit_advanced.html	Wed Sep 24 14:24:40 2014 +0200
@@ -3,7 +3,7 @@
 <div class="form">
    <div class="fields">
        ${h.select('id_fork_of','',c.repos_list,class_="medium")}
-       ${h.submit('set_as_fork_%s' % c.repo_info.repo_name,_('Set'),class_="btn btn-small",)}
+       ${h.submit('set_as_fork_%s' % c.repo_info.repo_name,_('Set'),class_="btn btn-small")}
    </div>
        <div class="field" style="border:none;color:#888">
        <ul>
@@ -16,7 +16,7 @@
 <script>
     $(document).ready(function(){
         $("#id_fork_of").select2({
-            'dropdownAutoWidth': true,
+            'dropdownAutoWidth': true
         });
     })
 </script>
--- a/kallithea/templates/admin/repos/repo_edit_fork.html	Sat Sep 13 18:46:09 2014 +0000
+++ b/kallithea/templates/admin/repos/repo_edit_fork.html	Wed Sep 24 14:24:40 2014 +0200
@@ -2,7 +2,7 @@
 <div class="form">
    <div class="fields">
        ${h.select('id_fork_of','',c.repos_list,class_="medium")}
-       ${h.submit('set_as_fork_%s' % c.repo_info.repo_name,_('Set'),class_="btn btn-small",)}
+       ${h.submit('set_as_fork_%s' % c.repo_info.repo_name,_('Set'),class_="btn btn-small")}
    </div>
        <div class="field" style="border:none;color:#888">
        <ul>
@@ -15,7 +15,7 @@
 <script>
     $(document).ready(function(){
         $("#id_fork_of").select2({
-            'dropdownAutoWidth': true,
+            'dropdownAutoWidth': true
         });
     })
 </script>
--- a/kallithea/templates/admin/repos/repos.html	Sat Sep 13 18:46:09 2014 +0000
+++ b/kallithea/templates/admin/repos/repos.html	Wed Sep 24 14:24:40 2014 +0200
@@ -43,7 +43,7 @@
     {key:"last_rev_raw"},
     {key:"owner"},
     {key:"state"},
-    {key:"action"},
+    {key:"action"}
   ];
   var column_defs = [
     {key:"menu",label:"",sortable:false,className:"quick_repo_menu hidden"},
@@ -52,7 +52,7 @@
     {key:"last_changeset",label:"${_('Tip')}",sortable:true, sortOptions: { sortFunction: revisionSort }},
     {key:"owner",label:"${_('Owner')}",sortable:true},
     {key:"state",label:"${_('State')}",sortable:true},
-    {key:"action",label:"${_('Action')}",sortable:false},
+    {key:"action",label:"${_('Action')}",sortable:false}
   ];
   var counter = YUD.get('repo_count');
   var sort_key = "name";
--- a/kallithea/templates/admin/settings/settings_email.html	Sat Sep 13 18:46:09 2014 +0000
+++ b/kallithea/templates/admin/settings/settings_email.html	Wed Sep 24 14:24:40 2014 +0200
@@ -13,7 +13,7 @@
 
     (_('SMTP use TLS'), c.ini.get('smtp_use_tls'), ''),
     (_('SMTP use SSL'), c.ini.get('smtp_use_ssl'), ''),
-    (_('SMTP auth'), c.ini.get('smtp_auth'), ''),
+    (_('SMTP auth'), c.ini.get('smtp_auth'), '')
  ]
 %>
 %for dt, dd, tt in elems:
--- a/kallithea/templates/admin/settings/settings_hooks.html	Sat Sep 13 18:46:09 2014 +0000
+++ b/kallithea/templates/admin/settings/settings_hooks.html	Wed Sep 24 14:24:40 2014 +0200
@@ -67,7 +67,7 @@
         },
         failure: function (o) {
             alert("${_('Failed to remove hook')}");
-        },
+        }
     };
     var postData = '_method=delete&hook_id=' + hook_id;
     var request = YAHOO.util.Connect.asyncRequest('POST', sUrl, callback, postData);
--- a/kallithea/templates/admin/settings/settings_system.html	Sat Sep 13 18:46:09 2014 +0000
+++ b/kallithea/templates/admin/settings/settings_system.html	Wed Sep 24 14:24:40 2014 +0200
@@ -6,7 +6,7 @@
     (_('Platform'), c.platform, ''),
     (_('GIT version'), c.git_version, ''),
     (_('GIT path'), c.ini.get('git_path'), ''),
-    (_('Upgrade info endpoint'), h.literal('%s <br/><span style="color:#999999">%s.</span>' % (c.update_url, _('Note: please make sure this server can access this url'))), ''),
+    (_('Upgrade info endpoint'), h.literal('%s <br/><span style="color:#999999">%s.</span>' % (c.update_url, _('Note: please make sure this server can access this url'))), '')
  ]
 %>
 
--- a/kallithea/templates/admin/user_groups/user_group_edit_advanced.html	Sat Sep 13 18:46:09 2014 +0000
+++ b/kallithea/templates/admin/user_groups/user_group_edit_advanced.html	Wed Sep 24 14:24:40 2014 +0200
@@ -5,8 +5,8 @@
  elems = [
     (_('Members'), len(c.group_members_obj), ''),
     (_('Created on'), h.fmt_date(c.user_group.created_on), ''),
-    (_('Owner'), h.person(c.user_group.user.username), ''),
- ]
+    (_('Owner'), h.person(c.user_group.user.username), '')
+    ]
 %>
 %for dt, dd, tt in elems:
   <dt style="width:150px; text-align: left">${dt}:</dt>
--- a/kallithea/templates/admin/user_groups/user_groups.html	Sat Sep 13 18:46:09 2014 +0000
+++ b/kallithea/templates/admin/user_groups/user_groups.html	Wed Sep 24 14:24:40 2014 +0200
@@ -43,16 +43,15 @@
     {key: "members"},
     {key: "active"},
     {key: "owner"},
-    {key: "action"},
-
+    {key: "action"}
   ];
   var column_defs = [
     {key:"group_name",label:"${_('Name')}",sortable:true, sortOptions: { sortFunction: nameSort }},
     {key:"desc",label:"${_('Description')}",sortable:true},
     {key:"members",label:"${_('Members')}",sortable:false},
-    {key:"active",label:"${_('Active')}",sortable:true,},
+    {key:"active",label:"${_('Active')}",sortable:true},
     {key:"owner",label:"${_('Owner')}",sortable:true},
-    {key:"action",label:"${_('Action')}",sortable:false},
+    {key:"action",label:"${_('Action')}",sortable:false}
   ];
   var counter = YUD.get('user_group_count');
   var sort_key = "group_name";
--- a/kallithea/templates/admin/users/user_edit_api_keys.html	Sat Sep 13 18:46:09 2014 +0000
+++ b/kallithea/templates/admin/users/user_edit_api_keys.html	Wed Sep 24 14:24:40 2014 +0200
@@ -77,7 +77,7 @@
 <script>
     $(document).ready(function(){
         $("#lifetime").select2({
-            'dropdownAutoWidth': true,
+            'dropdownAutoWidth': true
         });
     })
 </script>
--- a/kallithea/templates/admin/users/users.html	Sat Sep 13 18:46:09 2014 +0000
+++ b/kallithea/templates/admin/users/users.html	Wed Sep 24 14:24:40 2014 +0200
@@ -46,18 +46,18 @@
     {key: "active"},
     {key: "admin"},
     {key: "extern_type"},
-    {key: "action"},
+    {key: "action"}
   ];
   var column_defs = [
-    {key:"gravatar",label:"",sortable:false,},
+    {key:"gravatar",label:"",sortable:false},
     {key:"username",label:"${_('Username')}",sortable:true},
-    {key:"firstname",label:"${_('Firstname')}",sortable:true,},
-    {key:"lastname",label:"${_('Lastname')}",sortable:true,},
+    {key:"firstname",label:"${_('Firstname')}",sortable:true},
+    {key:"lastname",label:"${_('Lastname')}",sortable:true},
     {key:"last_login",label:"${_('Last login')}",sortable:true, sortOptions: { sortFunction: lastLoginSort }},
-    {key:"active",label:"${_('Active')}",sortable:true,},
-    {key:"admin",label:"${_('Admin')}",sortable:true,},
-    {key:"extern_type",label:"${_('Auth type')}",sortable:true,},
-    {key:"action",label:"${_('Action')}",sortable:false},
+    {key:"active",label:"${_('Active')}",sortable:true},
+    {key:"admin",label:"${_('Admin')}",sortable:true},
+    {key:"extern_type",label:"${_('Auth type')}",sortable:true},
+    {key:"action",label:"${_('Action')}",sortable:false}
   ];
   var counter = YUD.get('user_count');
   var sort_key = "username";
--- a/kallithea/templates/base/base.html	Sat Sep 13 18:46:09 2014 +0000
+++ b/kallithea/templates/base/base.html	Wed Sep 24 14:24:40 2014 +0200
@@ -449,7 +449,7 @@
                     }
                   })
               }
-            },
+            }
         });
 
         $("#repo_switcher").on('select2-selecting', function(e){
@@ -553,7 +553,7 @@
                          ('g g', 'Goto my private gists page'),
                          ('g G', 'Goto my public gists page'),
                          ('n r', 'New repository page'),
-                         ('n g', 'New gist page'),
+                         ('n g', 'New gist page')
                      ]
                   %>
                   %for key, desc in elems:
@@ -581,7 +581,7 @@
                          ('g f', 'Goto files page'),
                          ('g F', 'Goto files page with file search activated'),
                          ('g o', 'Goto repository settings'),
-                         ('g O', 'Goto repository permissions settings'),
+                         ('g O', 'Goto repository permissions settings')
                      ]
                   %>
                   %for key, desc in elems:
--- a/kallithea/templates/base/root.html	Sat Sep 13 18:46:09 2014 +0000
+++ b/kallithea/templates/base/root.html	Wed Sep 24 14:24:40 2014 +0200
@@ -53,9 +53,7 @@
                 'MSG_SORTDESC': "${_('Click to sort descending')}",
                 'MSG_EMPTY': "${_('No records found.')}",
                 'MSG_ERROR': "${_('Data error.')}",
-                'MSG_LOADING': "${_('Loading...')}",
-
-
+                'MSG_LOADING': "${_('Loading...')}"
             };
             var _TM = TRANSLATION_MAP;
 
--- a/kallithea/templates/bookmarks/bookmarks.html	Sat Sep 13 18:46:09 2014 +0000
+++ b/kallithea/templates/bookmarks/bookmarks.html	Wed Sep 24 14:24:40 2014 +0200
@@ -55,7 +55,7 @@
     {key:"author",label:"${_('Author')}",sortable:true},
     {key:"revision",label:"${_('Revision')}",sortable:true,
         sortOptions: { sortFunction: revisionSort }},
-    {key:"compare",label:"${_('Compare')}",sortable:false,},
+    {key:"compare",label:"${_('Compare')}",sortable:false}
 ];
 
 var myDataSource = new YAHOO.util.DataSource(YUD.get("bookmarks_data"));
@@ -71,19 +71,19 @@
         {key:"author"},
         {key:"last_rev_raw"},
         {key:"revision"},
-        {key:"compare"},
+        {key:"compare"}
     ]
 };
 
 var myDataTable = new YAHOO.widget.DataTable("table_wrap", myColumnDefs, myDataSource,
-        {
+    {
          sortedBy:{key:"name",dir:"asc"},
          MSG_SORTASC:"${_('Click to sort ascending')}",
          MSG_SORTDESC:"${_('Click to sort descending')}",
          MSG_EMPTY:"${_('No records found.')}",
          MSG_ERROR:"${_('Data error.')}",
-         MSG_LOADING:"${_('Loading...')}",
-        }
+         MSG_LOADING:"${_('Loading...')}"
+    }
 );
 myDataTable.subscribe('postRenderEvent',function(oArgs) {
     tooltip_activate();
--- a/kallithea/templates/branches/branches.html	Sat Sep 13 18:46:09 2014 +0000
+++ b/kallithea/templates/branches/branches.html	Wed Sep 24 14:24:40 2014 +0200
@@ -54,7 +54,7 @@
     {key:"author",label:"${_('Author')}",sortable:true},
     {key:"revision",label:"${_('Revision')}",sortable:true,
         sortOptions: { sortFunction: revisionSort }},
-    {key:"compare",label:"${_('Compare')}",sortable:false,},
+    {key:"compare",label:"${_('Compare')}",sortable:false}
 ];
 
 var myDataSource = new YAHOO.util.DataSource(YUD.get("branches_data"));
@@ -70,19 +70,19 @@
         {key:"author"},
         {key:"last_rev_raw"},
         {key:"revision"},
-        {key:"compare"},
+        {key:"compare"}
     ]
 };
 
 var myDataTable = new YAHOO.widget.DataTable("table_wrap", myColumnDefs, myDataSource,
-        {
+    {
          sortedBy:{key:"name",dir:"asc"},
          MSG_SORTASC:"${_('Click to sort ascending')}",
          MSG_SORTDESC:"${_('Click to sort descending')}",
          MSG_EMPTY:"${_('No records found.')}",
          MSG_ERROR:"${_('Data error.')}",
-         MSG_LOADING:"${_('Loading...')}",
-        }
+         MSG_LOADING:"${_('Loading...')}"
+    }
 );
 myDataTable.subscribe('postRenderEvent',function(oArgs) {
     tooltip_activate();
--- a/kallithea/templates/changelog/changelog.html	Sat Sep 13 18:46:09 2014 +0000
+++ b/kallithea/templates/changelog/changelog.html	Wed Sep 24 14:24:40 2014 +0200
@@ -270,7 +270,7 @@
                 // change branch filter
                 $("#branch_filter").select2({
                     dropdownAutoWidth: true,
-                    minimumInputLength: 1,
+                    minimumInputLength: 1
                     });
 
                 $("#branch_filter").change(function(e){
--- a/kallithea/templates/changeset/changeset.html	Sat Sep 13 18:46:09 2014 +0000
+++ b/kallithea/templates/changeset/changeset.html	Wed Sep 24 14:24:40 2014 +0200
@@ -241,7 +241,7 @@
                                   .replace('__url__', pyroutes.url('changeset_home', {'repo_name': '${c.repo_name}','revision': data.results[1].raw_id}));
                           $('#child_link').html(_html);
                       }
-                    },
+                    }
                   });
               e.preventDefault();
               }
@@ -278,12 +278,11 @@
                                   .replace('__url__', pyroutes.url('changeset_home', {'repo_name': '${c.repo_name}','revision': data.results[1].raw_id}));
                           $('#parent_link').html(_html);
                       }
-                    },
+                    }
                   });
               e.preventDefault();
               }
           })
-
       })
 
     </script>
--- a/kallithea/templates/compare/compare_cs.html	Sat Sep 13 18:46:09 2014 +0000
+++ b/kallithea/templates/compare/compare_cs.html	Wed Sep 24 14:24:40 2014 +0200
@@ -64,7 +64,7 @@
           org_ref_type=c.a_ref_type, org_ref_name=c.a_ref_name,
           other_repo=c.cs_repo.repo_name,
           other_ref_type=c.cs_ref_type, other_ref_name=c.cs_ref_name,
-          merge='1'),
+          merge='1')
         )}
       </div>
       <div style="font-size:1.1em;font-weight: bold;clear:both;padding-top:10px">
--- a/kallithea/templates/compare/compare_diff.html	Sat Sep 13 18:46:09 2014 +0000
+++ b/kallithea/templates/compare/compare_diff.html	Wed Sep 24 14:24:40 2014 +0200
@@ -134,7 +134,7 @@
                 }
               })
           }
-        },
+        }
     });
     $("#compare_other").select2({
         placeholder: "${'%s@%s' % (c.cs_repo.repo_name, c.cs_ref_name)}",
@@ -174,7 +174,7 @@
                 }
               })
           }
-        },
+        }
     });
 
     var values_changed = function() {
--- a/kallithea/templates/files/diff_2way.html	Sat Sep 13 18:46:09 2014 +0000
+++ b/kallithea/templates/files/diff_2way.html	Wed Sep 24 14:24:40 2014 +0200
@@ -92,7 +92,7 @@
             else{
                 $.ajax(orig2_url, {dataType: 'text', success: setValue});
             }
-        },
+        }
     });
     $('#ignorews').change(function(e){
         var val = e.currentTarget.checked;
--- a/kallithea/templates/files/files.html	Sat Sep 13 18:46:09 2014 +0000
+++ b/kallithea/templates/files/files.html	Wed Sep 24 14:24:40 2014 +0200
@@ -182,7 +182,7 @@
                 }
               })
           }
-        },
+        }
     });
     $('#show_authors').on('click', function(){
         $.ajax({
@@ -237,7 +237,7 @@
     // change branch filter
     $("#branch_selector").select2({
         dropdownAutoWidth: true,
-        minimumInputLength: 1,
+        minimumInputLength: 1
         });
 
     $("#branch_selector").change(function(e){
--- a/kallithea/templates/forks/fork.html	Sat Sep 13 18:46:09 2014 +0000
+++ b/kallithea/templates/forks/fork.html	Wed Sep 24 14:24:40 2014 +0200
@@ -108,7 +108,7 @@
             'dropdownAutoWidth': true
         });
         $("#landing_rev").select2({
-            'minimumResultsForSearch': -1,
+            'minimumResultsForSearch': -1
         });
         $('#repo_name').focus();
     })
--- a/kallithea/templates/index_base.html	Sat Sep 13 18:46:09 2014 +0000
+++ b/kallithea/templates/index_base.html	Wed Sep 24 14:24:40 2014 +0200
@@ -97,7 +97,7 @@
                {key:"last_changeset"},
                {key:"last_rev_raw"},
                {key:"owner"},
-               {key:"atom"},
+               {key:"atom"}
             ]
          };
         myDataSource.doBeforeCallback = function(req,raw,res,cb) {
@@ -131,7 +131,7 @@
             {key:"last_changeset",label:"${_('Tip')}",sortable:true,
                 sortOptions: { sortFunction: revisionSort }},
             {key:"owner",label:"${_('Owner')}",sortable:true},
-            {key:"atom",label:"",sortable:false},
+            {key:"atom",label:"",sortable:false}
         ];
 
         var myDataTable = new YAHOO.widget.DataTable("repos_list_wrap", myColumnDefs, myDataSource,{
@@ -142,7 +142,7 @@
           MSG_SORTDESC:"${_('Click to sort descending')}",
           MSG_EMPTY:"${_('No repositories found.')}",
           MSG_ERROR:"${_('Data error.')}",
-          MSG_LOADING:"${_('Loading...')}",
+          MSG_LOADING:"${_('Loading...')}"
         }
         );
         myDataTable.subscribe('postRenderEvent',function(oArgs) {
--- a/kallithea/templates/journal/journal.html	Sat Sep 13 18:46:09 2014 +0000
+++ b/kallithea/templates/journal/journal.html	Wed Sep 24 14:24:40 2014 +0200
@@ -138,7 +138,7 @@
 
     var tabs = {
         'watched': show_watched,
-        'my': show_my,
+        'my': show_my
     }
     var url = location.href.split('#');
     if (url[1]) {
@@ -161,7 +161,7 @@
                {key:"name"},
                {key:"last_changeset"},
                {key:"last_rev_raw"},
-               {key:"action"},
+               {key:"action"}
             ]
          };
         myDataSource.doBeforeCallback = function(req,raw,res,cb) {
@@ -189,7 +189,7 @@
                 sortOptions: { sortFunction: nameSort }},
             {key:"last_changeset",label:"${_('Tip')}",sortable:true,
                 sortOptions: { sortFunction: revisionSort }},
-            {key:"action",label:"${_('Action')}",sortable:false},
+            {key:"action",label:"${_('Action')}",sortable:false}
         ];
 
         var myDataTable = new YAHOO.widget.DataTable("watched_repos_list_wrap", myColumnDefs, myDataSource,{
@@ -200,7 +200,7 @@
           MSG_SORTDESC:"${_('Click to sort descending')}",
           MSG_EMPTY:"${_('No records found.')}",
           MSG_ERROR:"${_('Data error.')}",
-          MSG_LOADING:"${_('Loading...')}",
+          MSG_LOADING:"${_('Loading...')}"
         }
         );
         myDataTable.subscribe('postRenderEvent',function(oArgs) {
@@ -252,7 +252,7 @@
                {key:"name"},
                {key:"last_changeset"},
                {key:"last_rev_raw"},
-               {key:"action"},
+               {key:"action"}
             ]
          };
         myDataSource.doBeforeCallback = function(req,raw,res,cb) {
@@ -280,7 +280,7 @@
                 sortOptions: { sortFunction: nameSort }},
             {key:"last_changeset",label:"${_('Tip')}",sortable:true,
                 sortOptions: { sortFunction: revisionSort }},
-            {key:"action",label:"${_('Action')}",sortable:false},
+            {key:"action",label:"${_('Action')}",sortable:false}
         ];
 
         var myDataTable = new YAHOO.widget.DataTable("repos_list_wrap", myColumnDefs, myDataSource,{
@@ -291,7 +291,7 @@
           MSG_SORTDESC:"${_('Click to sort descending')}",
           MSG_EMPTY:"${_('No records found.')}",
           MSG_ERROR:"${_('Data error.')}",
-          MSG_LOADING:"${_('Loading...')}",
+          MSG_LOADING:"${_('Loading...')}"
         }
         );
         myDataTable.subscribe('postRenderEvent',function(oArgs) {
--- a/kallithea/templates/password_reset.html	Sat Sep 13 18:46:09 2014 +0000
+++ b/kallithea/templates/password_reset.html	Wed Sep 24 14:24:40 2014 +0200
@@ -78,7 +78,7 @@
             %if c.captcha_active:
             Recaptcha.create("${c.captcha_public_key}", "recaptcha",
                 {
-                  theme: "white",
+                  theme: "white"
                 }
             );
             %endif
--- a/kallithea/templates/pullrequests/pullrequest.html	Sat Sep 13 18:46:09 2014 +0000
+++ b/kallithea/templates/pullrequests/pullrequest.html	Wed Sep 24 14:24:40 2014 +0200
@@ -177,7 +177,7 @@
 
               // re-populate the select2 thingie
               $("#other_ref").select2({
-                  dropdownAutoWidth: true,
+                  dropdownAutoWidth: true
               });
 
               loadPreview();
@@ -210,7 +210,7 @@
           '__org_repo__': org_repo,
           '__org_ref_name__': org_ref[2],
           '__other_repo__': other_repo,
-          '__other_ref_name__': other_ref[2],
+          '__other_ref_name__': other_ref[2]
       }; // gather the org/other ref and repo here
 
       for (k in rev_data){
@@ -226,26 +226,26 @@
 
   $(document).ready(function(){
       $("#org_repo").select2({
-          dropdownAutoWidth: true,
+          dropdownAutoWidth: true
       });
       ## (org_repo can't change)
 
       $("#org_ref").select2({
-          dropdownAutoWidth: true,
+          dropdownAutoWidth: true
       });
       $("#org_ref").on("change", function(e){
           loadPreview();
       });
 
       $("#other_repo").select2({
-          dropdownAutoWidth: true,
+          dropdownAutoWidth: true
       });
       $("#other_repo").on("change", function(e){
           otherrepoChanged();
       });
 
       $("#other_ref").select2({
-          dropdownAutoWidth: true,
+          dropdownAutoWidth: true
       });
       $("#other_ref").on("change", function(e){
           loadPreview();
--- a/kallithea/templates/register.html	Sat Sep 13 18:46:09 2014 +0000
+++ b/kallithea/templates/register.html	Wed Sep 24 14:24:40 2014 +0200
@@ -126,7 +126,7 @@
             %if c.captcha_active:
             Recaptcha.create("${c.captcha_public_key}", "recaptcha",
                 {
-                  theme: "white",
+                  theme: "white"
                 }
             );
             %endif
--- a/kallithea/templates/search/search.html	Sat Sep 13 18:46:09 2014 +0000
+++ b/kallithea/templates/search/search.html	Wed Sep 24 14:24:40 2014 +0200
@@ -67,8 +67,8 @@
                 <div class="select">
                     ${h.select('type',c.cur_type,[('content',_('File contents')),
                         ('commit',_('Commit messages')),
-                        ('path',_('File names')),
-                        ##('repository',_('Repository names')),
+                        ('path',_('File names'))
+                        ##('repository',_('Repository names'))
                         ])}
                 </div>
              </div>
--- a/kallithea/templates/summary/statistics.html	Sat Sep 13 18:46:09 2014 +0000
+++ b/kallithea/templates/summary/statistics.html	Wed Sep 24 14:24:40 2014 +0200
@@ -138,8 +138,8 @@
     var initial_ranges = {
         "xaxis":{
             "from":from,
-            "to":to,
-        },
+            "to":to
+        }
     };
     var dataset = dataset;
     var overview_dataset = [overview_dataset];
@@ -149,31 +149,31 @@
     var overviewContainer = YUD.get('overview');
 
     var plot_options = {
-        bars: {show:true,align:'center',lineWidth:4},
-        legend: {show:true, container:"legend_container"},
-        points: {show:true,radius:0,fill:false},
-        yaxis: {tickDecimals:0,},
+        bars: {show:true, align: 'center', lineWidth: 4},
+        legend: {show:true, container: "legend_container"},
+        points: {show:true, radius: 0, fill: false},
+        yaxis: {tickDecimals: 0},
         xaxis: {
             mode: "time",
             timeformat: "%d/%m",
-            min:from,
-            max:to,
+            min: from,
+            max: to
         },
         grid: {
             hoverable: true,
             clickable: true,
-            autoHighlight:true,
+            autoHighlight: true,
             color: "#999"
         },
         //selection: {mode: "x"}
     };
     var overview_options = {
         legend:{show:false},
-        bars: {show:true,barWidth: 2,},
+        bars: {show:true, barWidth: 2},
         shadowSize: 0,
-        xaxis: {mode: "time", timeformat: "%d/%m/%y",},
-        yaxis: {ticks: 3, min: 0,tickDecimals:0,},
-        grid: {color: "#999",},
+        xaxis: {mode: "time", timeformat: "%d/%m/%y"},
+        yaxis: {ticks: 3, min: 0, tickDecimals:0},
+        grid: {color: "#999"},
         selection: {mode: "x"}
     };
 
@@ -186,10 +186,10 @@
              "commits":0,
                  "added":0,
                  "changed":0,
-                 "removed":0,
+                 "removed":0
             }],
             "schema":["commits"],
-            "color":'#ffffff',
+            "color":'#ffffff'
         }
     }
 
@@ -305,9 +305,9 @@
             xaxis: {
                 min: cur_ranges.xaxis.from,
                 max: cur_ranges.xaxis.to,
-                mode:"time",
-                timeformat: "%d/%m",
-            },
+                mode: "time",
+                timeformat: "%d/%m"
+            }
         });
         if (!new_data){
             new_data = [[0,1]];
@@ -340,8 +340,8 @@
                 min: ranges.xaxis.from,
                 max: ranges.xaxis.to,
                 mode:"time",
-                timeformat: "%d/%m",
-            },
+                timeformat: "%d/%m"
+            }
         });
         // do the zooming
         plot = YAHOO.widget.Flot(plotContainer, data, new_options);
--- a/kallithea/templates/summary/summary.html	Sat Sep 13 18:46:09 2014 +0000
+++ b/kallithea/templates/summary/summary.html	Wed Sep 24 14:24:40 2014 +0200
@@ -288,7 +288,7 @@
                 }
               })
           }
-        },
+        }
     });
     // on change of download options
     $('#download_options').change(function(e){
--- a/kallithea/templates/switch_to_list.html	Sat Sep 13 18:46:09 2014 +0000
+++ b/kallithea/templates/switch_to_list.html	Wed Sep 24 14:24:40 2014 +0200
@@ -1,6 +1,6 @@
 ## -*- coding: utf-8 -*-
 <li>
-    <a href="${h.url('branches_home',repo_name=c.repo_name)}" class="childs"><i class="icon-code-fork"></i> ${'%s (%s)' % (_('Branches'),len(c.db_repo_scm_instance.branches.values()),)}</a>
+    <a href="${h.url('branches_home',repo_name=c.repo_name)}" class="childs"><i class="icon-code-fork"></i> ${'%s (%s)' % (_('Branches'),len(c.db_repo_scm_instance.branches.values()))}</a>
     <ul>
     %if c.db_repo_scm_instance.branches.values():
         %for cnt,branch in enumerate(c.db_repo_scm_instance.branches.items()):
@@ -22,7 +22,7 @@
 </li>
 %endif
 <li>
-    <a href="${h.url('tags_home',repo_name=c.repo_name)}" class="childs"><i class="icon-tag"></i> ${'%s (%s)' % (_('Tags'),len(c.db_repo_scm_instance.tags.values()),)}</a>
+    <a href="${h.url('tags_home',repo_name=c.repo_name)}" class="childs"><i class="icon-tag"></i> ${'%s (%s)' % (_('Tags'),len(c.db_repo_scm_instance.tags.values()))}</a>
     <ul>
     %if c.db_repo_scm_instance.tags.values():
         %for cnt,tag in enumerate(c.db_repo_scm_instance.tags.items()):
@@ -35,7 +35,7 @@
 </li>
 %if c.db_repo_scm_instance.alias == 'hg':
 <li>
-    <a href="${h.url('bookmarks_home',repo_name=c.repo_name)}" class="childs"><i class="icon-bookmark"></i> ${'%s (%s)' % (_('Bookmarks'),len(c.db_repo_scm_instance.bookmarks.values()),)}</a>
+    <a href="${h.url('bookmarks_home',repo_name=c.repo_name)}" class="childs"><i class="icon-bookmark"></i> ${'%s (%s)' % (_('Bookmarks'),len(c.db_repo_scm_instance.bookmarks.values()))}</a>
     <ul>
     %if c.db_repo_scm_instance.bookmarks.values():
         %for cnt,book in enumerate(c.db_repo_scm_instance.bookmarks.items()):
--- a/kallithea/templates/tags/tags.html	Sat Sep 13 18:46:09 2014 +0000
+++ b/kallithea/templates/tags/tags.html	Wed Sep 24 14:24:40 2014 +0200
@@ -55,7 +55,7 @@
     {key:"author",label:"${_('Author')}",sortable:true},
     {key:"revision",label:"${_('Revision')}",sortable:true,
         sortOptions: { sortFunction: revisionSort }},
-    {key:"compare",label:"${_('Compare')}",sortable:false,},
+    {key:"compare",label:"${_('Compare')}",sortable:false}
 ];
 
 var myDataSource = new YAHOO.util.DataSource(YUD.get("tags_data"));
@@ -71,7 +71,7 @@
         {key:"author"},
         {key:"last_rev_raw"},
         {key:"revision"},
-        {key:"compare"},
+        {key:"compare"}
     ]
 };
 
@@ -82,7 +82,7 @@
          MSG_SORTDESC:"${_('Click to sort descending')}",
          MSG_EMPTY:"${_('No records found.')}",
          MSG_ERROR:"${_('Data error.')}",
-         MSG_LOADING:"${_('Loading...')}",
+         MSG_LOADING:"${_('Loading...')}"
         }
 );
 myDataTable.subscribe('postRenderEvent',function(oArgs) {