Change to arrow functions
This commit is contained in:
1 parent
ed8568f0df
commit
529883b61d
1 file changed
+2
-2
@@ -18,12 +18,12 @@ describe('GraphCtrl', function() {
|
||||
};
|
||||
|
||||
let scope = {
|
||||
$on: function() {},
|
||||
$on: () => {},
|
||||
};
|
||||
|
||||
GraphCtrl.prototype.panel = {
|
||||
events: {
|
||||
on: function() {},
|
||||
on: () => {},
|
||||
},
|
||||
gridPos: {
|
||||
w: 100,
|
||||
|
||||
Reference in new issue
Block a user