Skip to content

Commit 1349b3d

Browse files
committed
fix: error in production build
1 parent 6f9ddad commit 1349b3d

File tree

2 files changed

+10
-11
lines changed

2 files changed

+10
-11
lines changed

src/components/challenge-users-stats/challenge-users-stats.directive.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@
1818
}
1919
}
2020
}
21-
})()
21+
})(); // add ";" to avoid issues after building into one file

src/components/multiple-member-handler/multiple-member-handler.directive.js

+9-10
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
(function() {
22
'use strict'
3-
3+
44

55
angular.module('supportAdminApp').directive('multipleMemberHandler', ['UserService', multipleMemberHandler])
6-
6+
77
function multipleMemberHandler(UserService) {
88
return {
99
restrict: 'AE',
@@ -43,7 +43,7 @@
4343
}
4444
}
4545
}
46-
46+
4747
/**
4848
* checks if the handle has been found in the backend
4949
* @param {string} handle
@@ -53,7 +53,7 @@
5353
return handleFound.toLowerCase() === handle.toLowerCase();
5454
}).length > 0;
5555
}
56-
56+
5757
/**
5858
* handles removing a tag containing a handle previously selected
5959
* @param {string} handle
@@ -64,9 +64,9 @@
6464
});
6565
scope.handles = scope.handles.filter(function(handleFound) {
6666
return !(handleFound === handle);
67-
});
67+
});
6868
}
69-
69+
7070
/**
7171
* adds a handle tag to the frontend, wether it has been found in the backend or not
7272
* @param {string} handleTag
@@ -79,8 +79,8 @@
7979
return true;
8080
}
8181
return false;
82-
}
83-
82+
}
83+
8484
/**
8585
* used by typeahead when using autocomplete when adding a single user
8686
*/
@@ -122,5 +122,4 @@
122122
}
123123
}
124124
}
125-
})()
126-
125+
})(); // add ";" to avoid issues after building into one file

0 commit comments

Comments
 (0)