From 56ced9de41d4d52ff29516ede11ced420d67703b Mon Sep 17 00:00:00 2001 From: Phil Hughes Date: Thu, 2 Mar 2017 09:07:40 +0000 Subject: [PATCH] Remove jQuery UI jQuery UI is no longer used anywhere so say goodbye to it from package.json & Gemfile --- Gemfile | 1 - Gemfile.lock | 3 --- package.json | 1 - spec/javascripts/new_branch_spec.js | 1 - 4 files changed, 6 deletions(-) diff --git a/Gemfile b/Gemfile index fefccf87275..b21f563940d 100644 --- a/Gemfile +++ b/Gemfile @@ -236,7 +236,6 @@ gem 'gemojione', '~> 3.0' gem 'gon', '~> 6.1.0' gem 'jquery-atwho-rails', '~> 1.3.2' gem 'jquery-rails', '~> 4.1.0' -gem 'jquery-ui-rails', '~> 5.0.0' gem 'request_store', '~> 1.3' gem 'select2-rails', '~> 3.5.9' gem 'virtus', '~> 1.0.1' diff --git a/Gemfile.lock b/Gemfile.lock index d5433f5d652..0f210f57408 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -374,8 +374,6 @@ GEM rails-dom-testing (>= 1, < 3) railties (>= 4.2.0) thor (>= 0.14, < 2.0) - jquery-ui-rails (5.0.5) - railties (>= 3.2.16) json (1.8.6) json-schema (2.6.2) addressable (~> 2.3.8) @@ -906,7 +904,6 @@ DEPENDENCIES jira-ruby (~> 1.1.2) jquery-atwho-rails (~> 1.3.2) jquery-rails (~> 4.1.0) - jquery-ui-rails (~> 5.0.0) json-schema (~> 2.6.2) jwt (~> 1.5.6) kaminari (~> 0.17.0) diff --git a/package.json b/package.json index 5528303ab21..7b8c29877a5 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,6 @@ "dropzone": "^4.2.0", "es6-promise": "^4.0.5", "jquery": "^2.2.1", - "jquery-ui": "git+https://github.com/jquery/jquery-ui#1.11.4", "jquery-ujs": "^1.2.1", "js-cookie": "^2.1.3", "mousetrap": "^1.4.6", diff --git a/spec/javascripts/new_branch_spec.js b/spec/javascripts/new_branch_spec.js index f132537b943..90a429beeca 100644 --- a/spec/javascripts/new_branch_spec.js +++ b/spec/javascripts/new_branch_spec.js @@ -1,7 +1,6 @@ /* eslint-disable space-before-function-paren, one-var, no-var, one-var-declaration-per-line, no-return-assign, quotes, max-len */ /* global NewBranchForm */ -require('jquery-ui/ui/autocomplete'); require('~/new_branch_form'); (function() {