changeset 5151:df5b6fc6c518

javascript: add missing semicolons
author Mads Kiilerich <madski@unity3d.com>
date Wed, 27 May 2015 23:15:36 +0200
parents 7409cfc1e961
children f2d811756977
files kallithea/public/js/base.js kallithea/templates/admin/gists/edit.html 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/notifications/show_notification.html kallithea/templates/admin/repo_groups/repo_group_add.html kallithea/templates/admin/repo_groups/repo_group_edit_advanced.html kallithea/templates/admin/repo_groups/repo_group_edit_settings.html kallithea/templates/admin/repos/repo_add_base.html kallithea/templates/admin/repos/repo_creating.html kallithea/templates/admin/repos/repo_edit_advanced.html kallithea/templates/admin/repos/repo_edit_fork.html kallithea/templates/admin/repos/repo_edit_settings.html kallithea/templates/admin/settings/settings_email.html kallithea/templates/admin/settings/settings_system.html kallithea/templates/admin/settings/settings_vcs.html kallithea/templates/admin/user_groups/user_group_add.html kallithea/templates/admin/user_groups/user_group_edit_advanced.html kallithea/templates/admin/users/user_add.html kallithea/templates/admin/users/user_edit_advanced.html kallithea/templates/admin/users/user_edit_api_keys.html kallithea/templates/base/base.html kallithea/templates/base/default_perms_box.html kallithea/templates/base/perms_summary.html kallithea/templates/changelog/changelog.html kallithea/templates/changeset/changeset.html kallithea/templates/compare/compare_diff.html kallithea/templates/files/diff_2way.html kallithea/templates/files/files.html kallithea/templates/files/files_browser.html kallithea/templates/files/files_edit.html kallithea/templates/files/files_source.html kallithea/templates/forks/fork.html kallithea/templates/index_base.html kallithea/templates/journal/journal.html kallithea/templates/search/search.html kallithea/templates/summary/statistics.html kallithea/templates/summary/summary.html
diffstat 39 files changed, 92 insertions(+), 92 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/public/js/base.js	Tue May 26 13:55:06 2015 +0200
+++ b/kallithea/public/js/base.js	Wed May 27 23:15:36 2015 +0200
@@ -2059,7 +2059,7 @@
         nextPageLinkLabel: '&gt;',
         previousPageLinkLabel: '&lt;',
         containers:containers
-    })
+    });
 
     return pagi
 }
--- a/kallithea/templates/admin/gists/edit.html	Tue May 26 13:55:06 2015 +0200
+++ b/kallithea/templates/admin/gists/edit.html	Wed May 27 23:15:36 2015 +0200
@@ -164,7 +164,7 @@
                         $('#eform').submit();
                       }
                     }
-                  })
+                  });
               });
           </script>
         </div>
--- a/kallithea/templates/admin/my_account/my_account_api_keys.html	Tue May 26 13:55:06 2015 +0200
+++ b/kallithea/templates/admin/my_account/my_account_api_keys.html	Wed May 27 23:15:36 2015 +0200
@@ -79,5 +79,5 @@
         $("#lifetime").select2({
             'dropdownAutoWidth': true
         });
-    })
+    });
 </script>
--- a/kallithea/templates/admin/my_account/my_account_repos.html	Tue May 26 13:55:06 2015 +0200
+++ b/kallithea/templates/admin/my_account/my_account_repos.html	Wed May 27 23:15:36 2015 +0200
@@ -30,7 +30,7 @@
         if (req) {
             req = req.toLowerCase();
             for (i = 0; i<data.length; i++) {
-                var pos = data[i].raw_name.toLowerCase().indexOf(req)
+                var pos = data[i].raw_name.toLowerCase().indexOf(req);
                 if (pos != -1) {
                     filtered.push(data[i]);
                 }
--- a/kallithea/templates/admin/my_account/my_account_watched.html	Tue May 26 13:55:06 2015 +0200
+++ b/kallithea/templates/admin/my_account/my_account_watched.html	Wed May 27 23:15:36 2015 +0200
@@ -30,7 +30,7 @@
         if (req) {
             req = req.toLowerCase();
             for (i = 0; i<data.length; i++) {
-                var pos = data[i].raw_name.toLowerCase().indexOf(req)
+                var pos = data[i].raw_name.toLowerCase().indexOf(req);
                 if (pos != -1) {
                     filtered.push(data[i]);
                 }
--- a/kallithea/templates/admin/notifications/show_notification.html	Tue May 26 13:55:06 2015 +0200
+++ b/kallithea/templates/admin/notifications/show_notification.html	Wed May 27 23:15:36 2015 +0200
@@ -48,7 +48,7 @@
 var main = "${url('notifications')}";
    $('.delete-notification').click(function(e){
        var notification_id = e.currentTarget.id;
-       deleteNotification(url,notification_id,[function(){window.location=main}])
+       deleteNotification(url,notification_id,[function(){window.location=main}]);
    });
 </script>
 </%def>
--- a/kallithea/templates/admin/repo_groups/repo_group_add.html	Tue May 26 13:55:06 2015 +0200
+++ b/kallithea/templates/admin/repo_groups/repo_group_add.html	Wed May 27 23:15:36 2015 +0200
@@ -76,7 +76,7 @@
     $(document).ready(function(){
         var setCopyPermsOption = function(group_val){
             if(group_val != "-1"){
-                $('#copy_perms').show()
+                $('#copy_perms').show();
             }
             else{
                 $('#copy_perms').hide();
@@ -85,11 +85,11 @@
         $("#group_parent_id").select2({
             'dropdownAutoWidth': true
         });
-        setCopyPermsOption($('#group_parent_id').val())
+        setCopyPermsOption($('#group_parent_id').val());
         $("#group_parent_id").on("change", function(e) {
-            setCopyPermsOption(e.val)
-        })
+            setCopyPermsOption(e.val);
+        });
         $('#group_name').focus();
-    })
+    });
 </script>
 </%def>
--- a/kallithea/templates/admin/repo_groups/repo_group_edit_advanced.html	Tue May 26 13:55:06 2015 +0200
+++ b/kallithea/templates/admin/repo_groups/repo_group_edit_advanced.html	Wed May 27 23:15:36 2015 +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), '')
+    (_('Owner'), h.person(c.repo_group.user), ''),
  ]
 %>
 %for dt, dd, tt in elems:
--- a/kallithea/templates/admin/repo_groups/repo_group_edit_settings.html	Tue May 26 13:55:06 2015 +0200
+++ b/kallithea/templates/admin/repo_groups/repo_group_edit_settings.html	Wed May 27 23:15:36 2015 +0200
@@ -61,5 +61,5 @@
         $("#group_parent_id").select2({
             'dropdownAutoWidth': true
         });
-    })
+    });
 </script>
--- a/kallithea/templates/admin/repos/repo_add_base.html	Tue May 26 13:55:06 2015 +0200
+++ b/kallithea/templates/admin/repos/repo_add_base.html	Wed May 27 23:15:36 2015 +0200
@@ -90,7 +90,7 @@
     $(document).ready(function(){
         var setCopyPermsOption = function(group_val){
             if(group_val != "-1"){
-                $('#copy_perms').show()
+                $('#copy_perms').show();
             }
             else{
                 $('#copy_perms').hide();
@@ -100,7 +100,7 @@
         $('#remote_clone_toggle').on('click', function(e){
             $('#remote_clone').show();
             e.preventDefault();
-        })
+        });
         if($('#remote_clone input').hasClass('error')){
             $('#remote_clone').show();
         }
@@ -111,10 +111,10 @@
             'dropdownAutoWidth': true
         });
 
-        setCopyPermsOption($('#repo_group').val())
+        setCopyPermsOption($('#repo_group').val());
         $("#repo_group").on("change", function(e) {
-            setCopyPermsOption(e.val)
-        })
+            setCopyPermsOption(e.val);
+        });
 
         $("#repo_type").select2({
             'minimumResultsForSearch': -1
@@ -123,6 +123,6 @@
             'minimumResultsForSearch': -1
         });
         $('#repo_name').focus();
-    })
+    });
 </script>
 ${h.end_form()}
--- a/kallithea/templates/admin/repos/repo_creating.html	Tue May 26 13:55:06 2015 +0200
+++ b/kallithea/templates/admin/repos/repo_creating.html	Wed May 27 23:15:36 2015 +0200
@@ -57,7 +57,7 @@
           setTimeout(worker, 1000);
       }
       else{
-          $("#progress").html($('#progress_error').html())
+          $("#progress").html($('#progress_error').html());
       }
     }
   });
--- a/kallithea/templates/admin/repos/repo_edit_advanced.html	Tue May 26 13:55:06 2015 +0200
+++ b/kallithea/templates/admin/repos/repo_edit_advanced.html	Wed May 27 23:15:36 2015 +0200
@@ -16,7 +16,7 @@
         $("#id_fork_of").select2({
             'dropdownAutoWidth': true
         });
-    })
+    });
 </script>
 
 <h3>${_('Public Journal Visibility')}</h3>
--- a/kallithea/templates/admin/repos/repo_edit_fork.html	Tue May 26 13:55:06 2015 +0200
+++ b/kallithea/templates/admin/repos/repo_edit_fork.html	Wed May 27 23:15:36 2015 +0200
@@ -17,5 +17,5 @@
         $("#id_fork_of").select2({
             'dropdownAutoWidth': true
         });
-    })
+    });
 </script>
--- a/kallithea/templates/admin/repos/repo_edit_settings.html	Tue May 26 13:55:06 2015 +0200
+++ b/kallithea/templates/admin/repos/repo_edit_settings.html	Wed May 27 23:15:36 2015 +0200
@@ -143,15 +143,15 @@
         $('#show_more_clone_id').on('click', function(e){
             $('#clone_id').show();
             e.preventDefault();
-        })
+        });
         $('#edit_clone_uri').on('click', function(e){
           $('#alter_clone_uri').show();
           $('#edit_clone_uri').hide();
           $('#clone_uri_hidden').hide();
           ## store hash of old value for change detection
           var uri_change =  '<input id="clone_uri_change" name="clone_uri_change" type="hidden" value="${h.md5(c.repo_info.clone_uri or "").hexdigest()}" />';
-          $('#alter_clone_uri_help_block').html($('#alter_clone_uri_help_block').html()+" ("+$('#clone_uri_hidden_value').html()+")")
-        })
+          $('#alter_clone_uri_help_block').html($('#alter_clone_uri_help_block').html()+" ("+$('#clone_uri_hidden_value').html()+")");
+        });
 
         $('#repo_landing_rev').select2({
             'dropdownAutoWidth': true
@@ -160,5 +160,5 @@
             'dropdownAutoWidth': true
         });
 
-    })
+    });
 </script>
--- a/kallithea/templates/admin/settings/settings_email.html	Tue May 26 13:55:06 2015 +0200
+++ b/kallithea/templates/admin/settings/settings_email.html	Wed May 27 23:15:36 2015 +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_system.html	Tue May 26 13:55:06 2015 +0200
+++ b/kallithea/templates/admin/settings/settings_system.html	Wed May 27 23:15:36 2015 +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/settings/settings_vcs.html	Tue May 26 13:55:06 2015 +0200
+++ b/kallithea/templates/admin/settings/settings_vcs.html	Wed May 27 23:15:36 2015 +0200
@@ -91,6 +91,6 @@
                 $('#path_unlock_icon').addClass('icon-lock-open-alt');
                 $('#paths_root_path').removeAttr('readonly');
                 $('#paths_root_path').removeClass('disabled');
-            })
-        })
+            });
+        });
     </script>
--- a/kallithea/templates/admin/user_groups/user_group_add.html	Tue May 26 13:55:06 2015 +0200
+++ b/kallithea/templates/admin/user_groups/user_group_add.html	Wed May 27 23:15:36 2015 +0200
@@ -64,6 +64,6 @@
 <script>
     $(document).ready(function(){
         $('#users_group_name').focus();
-    })
+    });
 </script>
 </%def>
--- a/kallithea/templates/admin/user_groups/user_group_edit_advanced.html	Tue May 26 13:55:06 2015 +0200
+++ b/kallithea/templates/admin/user_groups/user_group_edit_advanced.html	Wed May 27 23:15:36 2015 +0200
@@ -5,7 +5,7 @@
  elems = [
     (_('Members'), len(c.group_members_obj), ''),
     (_('Created on'), h.fmt_date(c.user_group.created_on), ''),
-    (_('Owner'), h.person(c.user_group.user), '')
+    (_('Owner'), h.person(c.user_group.user), ''),
     ]
 %>
 %for dt, dd, tt in elems:
--- a/kallithea/templates/admin/users/user_add.html	Tue May 26 13:55:06 2015 +0200
+++ b/kallithea/templates/admin/users/user_add.html	Wed May 27 23:15:36 2015 +0200
@@ -103,6 +103,6 @@
 <script>
     $(document).ready(function(){
         $('#username').focus();
-    })
+    });
 </script>
 </%def>
--- a/kallithea/templates/admin/users/user_edit_advanced.html	Tue May 26 13:55:06 2015 +0200
+++ b/kallithea/templates/admin/users/user_edit_advanced.html	Wed May 27 23:15:36 2015 +0200
@@ -7,7 +7,7 @@
     (_('Source of Record'), c.user.extern_type, ''),
     (_('Created on'), h.fmt_date(c.user.created_on), ''),
     (_('Last Login'), c.user.last_login or '-', ''),
-    (_('Member of User groups'), len(c.user.group_member), ', '.join((x.users_group.users_group_name for x in c.user.group_member)))
+    (_('Member of User groups'), len(c.user.group_member), ', '.join((x.users_group.users_group_name for x in c.user.group_member))),
  ]
 %>
 %for dt, dd, tt in elems:
--- a/kallithea/templates/admin/users/user_edit_api_keys.html	Tue May 26 13:55:06 2015 +0200
+++ b/kallithea/templates/admin/users/user_edit_api_keys.html	Wed May 27 23:15:36 2015 +0200
@@ -79,5 +79,5 @@
         $("#lifetime").select2({
             'dropdownAutoWidth': true
         });
-    })
+    });
 </script>
--- a/kallithea/templates/base/base.html	Tue May 26 13:55:06 2015 +0200
+++ b/kallithea/templates/base/base.html	Wed May 27 23:15:36 2015 +0200
@@ -419,11 +419,11 @@
                     var children = [];
                     $.each(this.children, function(){
                         if(query.term.length == 0 || this.text.toUpperCase().indexOf(query.term.toUpperCase()) >= 0 ){
-                            children.push({'id': this.id, 'text': this.text, 'type': this.type, 'obj': this.obj})
+                            children.push({'id': this.id, 'text': this.text, 'type': this.type, 'obj': this.obj});
                         }
-                    })
+                    });
                     if(children.length !== 0){
-                        data.results.push({'text': section, 'children': children})
+                        data.results.push({'text': section, 'children': children});
                     }
 
                 });
@@ -438,21 +438,21 @@
                       cache[key] = data;
                       query.callback({results: data.results});
                     }
-                  })
+                  });
               }
             }
         });
 
         $("#repo_switcher").on('select2-selecting', function(e){
             e.preventDefault();
-            window.location = pyroutes.url('summary_home', {'repo_name': e.val})
-        })
+            window.location = pyroutes.url('summary_home', {'repo_name': e.val});
+        });
 
         ## Global mouse bindings ##
 
         // general help "?"
         Mousetrap.bind(['?'], function(e) {
-            $('#help_kb').modal({})
+            $('#help_kb').modal({});
         });
 
         // / open the quick filter
@@ -544,7 +544,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:
@@ -572,7 +572,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/default_perms_box.html	Tue May 26 13:55:06 2015 +0200
+++ b/kallithea/templates/base/default_perms_box.html	Wed May 27 23:15:36 2015 +0200
@@ -83,7 +83,7 @@
     $('#inherit_default_permissions').change(function(){
         show_custom_perms($('#inherit_default_permissions').prop('checked'));
     });
-})
+});
 </script>
 
 </%def>
--- a/kallithea/templates/base/perms_summary.html	Tue May 26 13:55:06 2015 +0200
+++ b/kallithea/templates/base/perms_summary.html	Wed May 27 23:15:36 2015 +0200
@@ -123,6 +123,6 @@
         }
         $('.perm_filter').on('change', function(){update_show($(this));});
         $('.perm_filter[value=none]').each(function(){this.checked = false; update_show($(this));});
-    })
+    });
 </script>
 </%def>
--- a/kallithea/templates/changelog/changelog.html	Tue May 26 13:55:06 2015 +0200
+++ b/kallithea/templates/changelog/changelog.html	Wed May 27 23:15:36 2015 +0200
@@ -210,7 +210,7 @@
                         YUD.get('open_new_pr').href = pyroutes.url('pullrequest_home',
                                                                    {'repo_name': '${c.repo_name}',
                                                                     'rev_start': rev_start,
-                                                                    'rev_end': rev_end})
+                                                                    'rev_end': rev_end});
 
                         YUD.setStyle('compare_fork','display','none');
                     }else{
--- a/kallithea/templates/changeset/changeset.html	Tue May 26 13:55:06 2015 +0200
+++ b/kallithea/templates/changeset/changeset.html	Wed May 27 23:15:36 2015 +0200
@@ -246,7 +246,7 @@
                   });
               e.preventDefault();
               }
-          })
+          });
 
           //prev links
           $('#parent_link').on('click', function(e){
@@ -289,7 +289,7 @@
           if (window.location.hash != "") {
               window.location.href = window.location.href;
           }
-      })
+      });
 
     </script>
 
--- a/kallithea/templates/compare/compare_diff.html	Tue May 26 13:55:06 2015 +0200
+++ b/kallithea/templates/compare/compare_diff.html	Wed May 27 23:15:36 2015 +0200
@@ -113,14 +113,14 @@
                 var children = [];
                 $.each(this.children, function(){
                     if(query.term.length == 0 || this.text.toUpperCase().indexOf(query.term.toUpperCase()) >= 0 ){
-                        children.push({'id': this.id, 'text': this.text})
+                        children.push({'id': this.id, 'text': this.text});
                     }
-                })
-                data.results.push({'text': section, 'children': children})
+                });
+                data.results.push({'text': section, 'children': children});
             });
             //push the typed in changeset
             data.results.push({'text':_TM['Specify changeset'],
-                               'children': [{'id': query.term, 'text': query.term, 'type': 'rev'}]})
+                               'children': [{'id': query.term, 'text': query.term, 'type': 'rev'}]});
             query.callback(data);
           }else{
               $.ajax({
@@ -132,7 +132,7 @@
                   cache[key] = data;
                   query.callback(data);
                 }
-              })
+              });
           }
         }
     });
@@ -140,7 +140,7 @@
         placeholder: "${'%s@%s' % (c.cs_repo.repo_name, c.cs_ref_name)}",
         dropdownAutoWidth: true,
         formatSelection: function(obj){
-            return '{0}@{1}'.format("${c.cs_repo.repo_name}", obj.text)
+            return '{0}@{1}'.format("${c.cs_repo.repo_name}", obj.text);
         },
         query: function(query){
           var key = 'cache2';
@@ -153,14 +153,14 @@
                 var children = [];
                 $.each(this.children, function(){
                     if(query.term.length == 0 || this.text.toUpperCase().indexOf(query.term.toUpperCase()) >= 0 ){
-                        children.push({'id': this.id, 'text': this.text})
+                        children.push({'id': this.id, 'text': this.text});
                     }
-                })
-                data.results.push({'text': section, 'children': children})
+                });
+                data.results.push({'text': section, 'children': children});
             });
             //push the typed in changeset
             data.results.push({'text':_TM['Specify changeset'],
-                               'children': [{'id': query.term, 'text': query.term, 'type': 'rev'}]})
+                               'children': [{'id': query.term, 'text': query.term, 'type': 'rev'}]});
             query.callback(data);
           }else{
               $.ajax({
@@ -172,7 +172,7 @@
                   cache[key] = data;
                   query.callback({results: data.results});
                 }
-              })
+              });
           }
         }
     });
--- a/kallithea/templates/files/diff_2way.html	Tue May 26 13:55:06 2015 +0200
+++ b/kallithea/templates/files/diff_2way.html	Wed May 27 23:15:36 2015 +0200
@@ -75,7 +75,7 @@
         cmsettings: {mode: 'text/plain', readOnly: true, lineWrapping: false, lineNumbers: true},
         lhs: function(setValue) {
             if("${c.node1.is_binary}" == "True"){
-                setValue('Binary file')
+                setValue('Binary file');
             }
             else{
                 $.ajax(orig1_url, {dataType: 'text', success: setValue});
@@ -84,7 +84,7 @@
         },
         rhs: function(setValue) {
             if("${c.node2.is_binary}" == "True"){
-                setValue('Binary file')
+                setValue('Binary file');
             }
             else{
                 $.ajax(orig2_url, {dataType: 'text', success: setValue});
@@ -95,13 +95,13 @@
         var val = e.currentTarget.checked;
         $('#compare').mergely('options', {ignorews: val});
         $('#compare').mergely('update');
-    })
+    });
     $('#edit_mode').change(function(e){
         var val = !e.currentTarget.checked;
         $('#compare').mergely('cm', 'lhs').setOption('readOnly', val);
         $('#compare').mergely('cm', 'rhs').setOption('readOnly', val);
         $('#compare').mergely('update');
-    })
+    });
 });
 </script>
 
--- a/kallithea/templates/files/files.html	Tue May 26 13:55:06 2015 +0200
+++ b/kallithea/templates/files/files.html	Wed May 27 23:15:36 2015 +0200
@@ -64,10 +64,10 @@
         var url = el.href;
 
         var _base_url = '${h.url("files_home",repo_name=c.repo_name,revision='',f_path='')}';
-        _base_url = _base_url.replace('//','/')
+        _base_url = _base_url.replace('//','/');
 
         //extract rev and the f_path from url.
-        parts = url.split(_base_url)
+        parts = url.split(_base_url);
         if(parts.length != 2){
             return false;
         }
@@ -145,7 +145,7 @@
     $('#hlcode').mouseup(getSelectionLink);
 
     // history select field
-    var cache = {}
+    var cache = {};
     $("#diff1").select2({
         placeholder: _TM['Select changeset'],
         dropdownAutoWidth: true,
@@ -160,10 +160,10 @@
                 var children = [];
                 $.each(this.children, function(){
                     if(query.term.length == 0 || this.text.toUpperCase().indexOf(query.term.toUpperCase()) >= 0 ){
-                        children.push({'id': this.id, 'text': this.text})
+                        children.push({'id': this.id, 'text': this.text});
                     }
-                })
-                data.results.push({'text': section, 'children': children})
+                });
+                data.results.push({'text': section, 'children': children});
             });
             query.callback(data);
           }else{
@@ -176,7 +176,7 @@
                   cache[key] = data;
                   query.callback({results: data.results});
                 }
-              })
+              });
           }
         }
     });
@@ -186,10 +186,10 @@
             success: function(data) {
                 $('#file_authors').html(data);
                 $('#file_authors').show();
-                tooltip_activate()
+                tooltip_activate();
             }
-        })
-    })
+        });
+    });
 }
 
 $(document).ready(function(){
--- a/kallithea/templates/files/files_browser.html	Tue May 26 13:55:06 2015 +0200
+++ b/kallithea/templates/files/files_browser.html	Wed May 27 23:15:36 2015 +0200
@@ -122,5 +122,5 @@
         if(search_GET == "1"){
             $("#filter_activate").click();
         }
-    })
+    });
 </script>
--- a/kallithea/templates/files/files_edit.html	Tue May 26 13:55:06 2015 +0200
+++ b/kallithea/templates/files/files_edit.html	Wed May 27 23:15:36 2015 +0200
@@ -98,7 +98,7 @@
     var detected_mode = CodeMirror.findModeByExtension("${c.file.extension}");
     if(detected_mode){
         setCodeMirrorMode(myCodeMirror, detected_mode);
-        $($('#set_mode option[value="'+detected_mode.mime+'"]')[0]).attr("selected", "selected")
+        $($('#set_mode option[value="'+detected_mode.mime+'"]')[0]).attr("selected", "selected");
     }
 
     $('#set_mode').on('change', function(e){
@@ -107,6 +107,6 @@
         var detected_mode = CodeMirror.findModeByMIME(node.value);
         setCodeMirrorMode(myCodeMirror, detected_mode);
     });
-})
+});
 </script>
 </%def>
--- a/kallithea/templates/files/files_source.html	Tue May 26 13:55:06 2015 +0200
+++ b/kallithea/templates/files/files_source.html	Wed May 27 23:15:36 2015 +0200
@@ -90,5 +90,5 @@
            }
         }
         callbacks(_State) // defined in files.html, main callbacks. Triggerd in pjax calls
-    })
+    });
 </script>
--- a/kallithea/templates/forks/fork.html	Tue May 26 13:55:06 2015 +0200
+++ b/kallithea/templates/forks/fork.html	Wed May 27 23:15:36 2015 +0200
@@ -108,6 +108,6 @@
             'minimumResultsForSearch': -1
         });
         $('#repo_name').focus();
-    })
+    });
 </script>
 </%def>
--- a/kallithea/templates/index_base.html	Tue May 26 13:55:06 2015 +0200
+++ b/kallithea/templates/index_base.html	Wed May 27 23:15:36 2015 +0200
@@ -112,7 +112,7 @@
             if (req) {
                 req = req.toLowerCase();
                 for (i = 0; i<data.length; i++) {
-                    var pos = data[i].raw_name.toLowerCase().indexOf(req, ${len(group_name)})
+                    var pos = data[i].raw_name.toLowerCase().indexOf(req, ${len(group_name)});
                     if (pos != -1) {
                         filtered.push(data[i]);
                     }
--- a/kallithea/templates/journal/journal.html	Tue May 26 13:55:06 2015 +0200
+++ b/kallithea/templates/journal/journal.html	Wed May 27 23:15:36 2015 +0200
@@ -172,7 +172,7 @@
             if (req) {
                 req = req.toLowerCase();
                 for (i = 0; i<data.length; i++) {
-                    var pos = data[i].raw_name.toLowerCase().indexOf(req)
+                    var pos = data[i].raw_name.toLowerCase().indexOf(req);
                     if (pos != -1) {
                         filtered.push(data[i]);
                     }
@@ -263,7 +263,7 @@
             if (req) {
                 req = req.toLowerCase();
                 for (i = 0; i<data.length; i++) {
-                    var pos = data[i].raw_name.toLowerCase().indexOf(req)
+                    var pos = data[i].raw_name.toLowerCase().indexOf(req);
                     if (pos != -1) {
                         filtered.push(data[i]);
                     }
--- a/kallithea/templates/search/search.html	Tue May 26 13:55:06 2015 +0200
+++ b/kallithea/templates/search/search.html	Wed May 27 23:15:36 2015 +0200
@@ -64,8 +64,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	Tue May 26 13:55:06 2015 +0200
+++ b/kallithea/templates/summary/statistics.html	Wed May 27 23:15:36 2015 +0200
@@ -379,7 +379,7 @@
                     item.series.label = 'commits';
                 }
                 var d = new Date(x*1000);
-                var fd = d.toDateString()
+                var fd = d.toDateString();
                 var nr_commits = parseInt(y);
 
                 var cur_data = dataset[item.series.label].data[item.dataIndex];
@@ -433,7 +433,7 @@
     overview.setSelection(initial_ranges);
 
     plot.subscribe("plotselected", plotselected);
-    plot.subscribe("plothover", plothover)
+    plot.subscribe("plothover", plothover);
 
     overview.subscribe("plotselected", function (ranges) {
         plot.setSelection(ranges);
--- a/kallithea/templates/summary/summary.html	Tue May 26 13:55:06 2015 +0200
+++ b/kallithea/templates/summary/summary.html	Wed May 27 23:15:36 2015 +0200
@@ -267,10 +267,10 @@
                 var children = [];
                 $.each(this.children, function(){
                     if(query.term.length == 0 || this.text.toUpperCase().indexOf(query.term.toUpperCase()) >= 0 ){
-                        children.push({'id': this.id, 'text': this.text})
+                        children.push({'id': this.id, 'text': this.text});
                     }
-                })
-                data.results.push({'text': section, 'children': children})
+                });
+                data.results.push({'text': section, 'children': children});
             });
             query.callback(data);
           }else{
@@ -283,7 +283,7 @@
                   cache[key] = data;
                   query.callback({results: data.results});
                 }
-              })
+              });
           }
         }
     });
@@ -303,7 +303,7 @@
              url = url.replace('__SUB__',subrepos);
              url = url.replace('__NAME__',title_tmpl);
 
-             s.html(url)
+             s.html(url);
            }
        }
     });
@@ -312,7 +312,7 @@
     %for cnt,archive in enumerate(c.db_repo_scm_instance._get_archives()):
       tmpl_links["${archive['type']}"] = '${h.link_to('__NAME__', h.url('files_archive_home',repo_name=c.db_repo.repo_name, fname='__CS__'+archive['extension'],subrepos='__SUB__'),class_='btn btn-small')}';
     %endfor
-})
+});
 </script>
 
 %if c.show_stats: