aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/users/form-view.js
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2016-12-29 11:37:28 +0100
committerGitHub <noreply@github.com>2016-12-29 11:37:28 +0100
commitc85948205409283fa7dec4ab1db9764acc0d3ce9 (patch)
treeb4fbd692e4ce6cc93ccf417173242398adecf9c1 /server/sonar-web/src/main/js/apps/users/form-view.js
parent5595c2f862cca1d07312c9219013f836e45a5f90 (diff)
downloadsonarqube-c85948205409283fa7dec4ab1db9764acc0d3ce9.tar.gz
sonarqube-c85948205409283fa7dec4ab1db9764acc0d3ce9.zip
remove explicit _ and $ dependecies (#1487)
Diffstat (limited to 'server/sonar-web/src/main/js/apps/users/form-view.js')
-rw-r--r--server/sonar-web/src/main/js/apps/users/form-view.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/js/apps/users/form-view.js b/server/sonar-web/src/main/js/apps/users/form-view.js
index cbe625b6080..566672ca850 100644
--- a/server/sonar-web/src/main/js/apps/users/form-view.js
+++ b/server/sonar-web/src/main/js/apps/users/form-view.js
@@ -18,7 +18,6 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
import $ from 'jquery';
-import _ from 'underscore';
import ModalForm from '../../components/common/modal-form';
import Template from './templates/users-form.hbs';
@@ -26,9 +25,10 @@ export default ModalForm.extend({
template: Template,
events () {
- return _.extend(ModalForm.prototype.events.apply(this, arguments), {
+ return {
+ ...ModalForm.prototype.events.apply(this, arguments),
'click #create-user-add-scm-account': 'onAddScmAccountClick'
- });
+ };
},
onRender () {