fix(ngblur): removed ngblur directive as it conflicted with angular naitive directive, fixes #2429

This commit is contained in:
Torkel Ödegaard 2015-08-26 13:05:13 +02:00
parent 29c833d623
commit 874503ca68
2 changed files with 0 additions and 21 deletions

View File

@ -2,7 +2,6 @@ define([
'./arrayJoin',
'./dashUpload',
'./grafanaSimplePanel',
'./ngBlur',
'./dashEditLink',
'./ngModelOnBlur',
'./misc',

View File

@ -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});
});
});
};
}]);
});