diff --git a/public/app/directives/all.js b/public/app/directives/all.js index 13a8accffbd..0902410b089 100644 --- a/public/app/directives/all.js +++ b/public/app/directives/all.js @@ -2,7 +2,6 @@ define([ './arrayJoin', './dashUpload', './grafanaSimplePanel', - './ngBlur', './dashEditLink', './ngModelOnBlur', './misc', diff --git a/public/app/directives/ngBlur.js b/public/app/directives/ngBlur.js deleted file mode 100644 index aad125fe755..00000000000 --- a/public/app/directives/ngBlur.js +++ /dev/null @@ -1,20 +0,0 @@ -define([ - 'angular' -], -function (angular) { - 'use strict'; - - angular - .module('grafana.directives') - .directive('ngBlur', ['$parse', function($parse) { - return function(scope, element, attr) { - var fn = $parse(attr['ngBlur']); - element.bind('blur', function(event) { - scope.$apply(function() { - fn(scope, {$event:event}); - }); - }); - }; - }]); - -}); \ No newline at end of file