From 24cfb6ccdadde75f8a0dfde665be8e8c77b8d66f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole=20Bj=C3=B8rn=20Michelsen?= Date: Wed, 24 Jun 2015 14:50:51 +0200 Subject: [PATCH] Added missing semi-colons. --- src/angular-resizable.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/angular-resizable.js b/src/angular-resizable.js index 2a09d5c..d596a8a 100644 --- a/src/angular-resizable.js +++ b/src/angular-resizable.js @@ -55,7 +55,7 @@ angular.module('angularResizable', []) else info.height = scope.rFlex ? parseInt(element[0].style.flexBasis) : parseInt(element[0].style.height); info.id = element[0].id; - } + }; var dragging = function(e) { var prop, offset = axis === 'x' ? start - e.clientX : start - e.clientY; @@ -115,7 +115,7 @@ angular.module('angularResizable', []) grabber.setAttribute('class', 'rg-' + dir[i]); grabber.innerHTML = inner; element[0].appendChild(grabber); - grabber.ondragstart = function() { return false } + grabber.ondragstart = function() { return false; }; grabber.addEventListener('mousedown', function(e) { disabled = (scope.rDisabled === 'true'); if (!disabled && e.which === 1) { @@ -123,9 +123,9 @@ angular.module('angularResizable', []) dragStart(e, direction); } }, false); - }()) + }()); } } - } + }; });