]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix semicolon at end of JS lines 4610/head
authorMorris Jobke <hey@morrisjobke.de>
Mon, 1 May 2017 03:42:53 +0000 (00:42 -0300)
committerMorris Jobke <hey@morrisjobke.de>
Mon, 1 May 2017 03:42:53 +0000 (00:42 -0300)
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
core/js/jquery-showpassword.js
core/js/jquery-ui-fixes.js
core/js/js.js
core/js/oc-dialogs.js
core/js/placeholder.js
core/js/setup.js
core/js/sharedialogshareelistview.js
core/js/singleselect.js

index 23ddf94771948f50c11fe3e7aac1f5696f636b87..5d518c78bcbc0ca768cee14248e7bca178c63fc0 100644 (file)
@@ -17,8 +17,8 @@
          showPassword: function(c) {   
             
             // Setup callback object
-                       var callback    = {'fn':null,'args':{}}
-                               callback.fn = c;
+                       var callback    = {'fn':null,'args':{}};
+                       callback.fn = c;
                        
                        // Clones passwords and turn the clones into text inputs
                        var cloneElement = function( element ) {
@@ -90,7 +90,7 @@
                                });
                                
                                $input.bind('keyup', function() {
-                                       update( $input, $clone )
+                                       update( $input, $clone );
                                });
                                
                                $clone.bind('keyup', function(){ 
index 9ccaa38cc4764d3c74b326100af6cfb8f533b12b..39f6d7a354ef9177afe75bd3ef0c7188e71b2285 100644 (file)
@@ -5,4 +5,4 @@
 jQuery.ui.autocomplete.prototype._resizeMenu = function () {
        var ul = this.menu.element;
        ul.outerWidth(this.element.outerWidth());
-}
+};
index d601f79033ee932f7f762369a1903a1741e18bac..233bf833c9d9d43beabd4d380e4798e463a2eea2 100644 (file)
@@ -1422,7 +1422,7 @@ function initCore() {
                        } else {
                                // Close navigation when opening app in
                                // a new tab
-                               OC.hideMenus(function(){return false});
+                               OC.hideMenus(function(){return false;});
                        }
                });
 
@@ -1430,7 +1430,7 @@ function initCore() {
                        if(event.which === 2) {
                                // Close navigation when opening app in
                                // a new tab via middle click
-                               OC.hideMenus(function(){return false});
+                               OC.hideMenus(function(){return false;});
                        }
                });
 
@@ -1444,7 +1444,7 @@ function initCore() {
                        } else {
                                // Close navigation when opening app in
                                // a new tab
-                               OC.hideMenus(function(){return false});
+                               OC.hideMenus(function(){return false;});
                        }
                });
        }
@@ -1465,7 +1465,7 @@ function initCore() {
                        } else {
                                // Close navigation when opening menu entry in
                                // a new tab
-                               OC.hideMenus(function(){return false});
+                               OC.hideMenus(function(){return false;});
                        }
                });
 
@@ -1473,7 +1473,7 @@ function initCore() {
                        if(event.which === 2) {
                                // Close navigation when opening app in
                                // a new tab via middle click
-                               OC.hideMenus(function(){return false});
+                               OC.hideMenus(function(){return false;});
                        }
                });
        }
@@ -1884,7 +1884,7 @@ OC.Util = {
         * @return {boolean} true if the browser supports SVG, false otherwise
         */
        hasSVGSupport: function(){
-               return true
+               return true;
        },
        /**
         * If SVG is not supported, replaces the given icon's extension
@@ -2385,4 +2385,4 @@ jQuery.fn.tipsy = function(argument) {
                jQuery.fn.tooltip.call(this, argument);
        }
        return this;
-}
+};
index 92f256699af0a21428452c24afbe16017b0e5db2..01496e6b59285b0a38565e61baa334664dade6bb 100644 (file)
@@ -561,7 +561,7 @@ var OCdialogs = {
                                                .prop('checked', true)
                                                .prop('disabled', true);
                                $originalDiv.find('.message')
-                                       .text(t('core','read-only'))
+                                       .text(t('core','read-only'));
                        }
                };
                //var selection = controller.getSelection(data.originalFiles);
index 1b03a28eccace114f7d92fa998c07140e39cbfb1..b8075b5397f6bedeb8c50ce1e298392774336882 100644 (file)
@@ -71,7 +71,7 @@
                }
 
                function rgbToHsl(r, g, b) {
-                       r /= 255, g /= 255, b /= 255;
+                       r /= 255; g /= 255; b /= 255;
                        var max = Math.max(r, g, b), min = Math.min(r, g, b);
                        var h, s, l = (max + min) / 2;
                        if(max === min) {
index 3c09bb6da49169c00f29e13d88778ec93dbf41e4..b3b2049c447e3fad100082702b26b05b72a555a5 100644 (file)
@@ -66,7 +66,7 @@ $(document).ready(function() {
                $('.strengthify-wrapper, .tipsy')
                        .css('-ms-filter', '"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)"')
                        .css('filter', 'alpha(opacity=30)')
-                       .css('opacity', .3);
+                       .css('opacity', 0.3);
 
                // Create the form
                var form = $('<form>');
index f513eb75848fb68e88d99ce37609e333459237e5..d51504c3771f5bc19142bdb5fd92317788a0c43b 100644 (file)
                                        var shareType = $this.data('share-type');
 
                                        $this.find('div.avatar, span.username').contactsMenu(shareWith, shareType, $this);
-                               })
+                               });
                        } else {
                                var permissionChangeShareId = parseInt(this._renderPermissionChange, 10);
                                var shareWithIndex = this.model.findShareWithIndex(permissionChangeShareId);
index 1b2016aabb97afb97610e2961822d1e71dd2e7f4..cd0dd52651ab993229dbd0f16e5e66e2c00581e9 100644 (file)
@@ -8,7 +8,7 @@
                                input.attr('title', inputTooltip);
                        }
                        if (typeof gravity === 'undefined') {
-                               gravity = 'n'
+                               gravity = 'n';
                        }
                        select = $(select);
                        input.css('position', 'absolute');