From 03d9a63f77f5f1672186547870ef55c42e3a16a2 Mon Sep 17 00:00:00 2001 From: Tom Clegg Date: Sat, 22 Nov 2014 04:44:00 -0500 Subject: [PATCH] 3781: Remove js cruft from api server. --- .../api_client_authorizations.js.coffee | 3 --- .../assets/javascripts/api_clients.js.coffee | 3 --- .../api/app/assets/javascripts/application.js | 9 --------- .../javascripts/authorized_keys.js.coffee | 3 --- .../assets/javascripts/collections.js.coffee | 3 --- .../javascripts/commit_ancestors.js.coffee | 3 --- .../app/assets/javascripts/commits.js.coffee | 3 --- .../api/app/assets/javascripts/groups.js.coffee | 3 --- .../api/app/assets/javascripts/humans.js.coffee | 3 --- .../app/assets/javascripts/job_tasks.js.coffee | 3 --- .../api/app/assets/javascripts/jobs.js.coffee | 3 --- .../app/assets/javascripts/keep_disks.js.coffee | 3 --- .../api/app/assets/javascripts/links.js.coffee | 3 --- .../api/app/assets/javascripts/logs.js.coffee | 3 --- services/api/app/assets/javascripts/nodes.js | 17 ----------------- .../api/app/assets/javascripts/nodes.js.coffee | 3 --- .../javascripts/pipeline_instances.js.coffee | 3 --- .../javascripts/pipeline_templates.js.coffee | 3 --- .../assets/javascripts/repositories.js.coffee | 3 --- .../app/assets/javascripts/specimens.js.coffee | 3 --- .../api/app/assets/javascripts/traits.js.coffee | 3 --- .../javascripts/virtual_machines.js.coffee | 3 --- 22 files changed, 86 deletions(-) delete mode 100644 services/api/app/assets/javascripts/api_client_authorizations.js.coffee delete mode 100644 services/api/app/assets/javascripts/api_clients.js.coffee delete mode 100644 services/api/app/assets/javascripts/application.js delete mode 100644 services/api/app/assets/javascripts/authorized_keys.js.coffee delete mode 100644 services/api/app/assets/javascripts/collections.js.coffee delete mode 100644 services/api/app/assets/javascripts/commit_ancestors.js.coffee delete mode 100644 services/api/app/assets/javascripts/commits.js.coffee delete mode 100644 services/api/app/assets/javascripts/groups.js.coffee delete mode 100644 services/api/app/assets/javascripts/humans.js.coffee delete mode 100644 services/api/app/assets/javascripts/job_tasks.js.coffee delete mode 100644 services/api/app/assets/javascripts/jobs.js.coffee delete mode 100644 services/api/app/assets/javascripts/keep_disks.js.coffee delete mode 100644 services/api/app/assets/javascripts/links.js.coffee delete mode 100644 services/api/app/assets/javascripts/logs.js.coffee delete mode 100644 services/api/app/assets/javascripts/nodes.js delete mode 100644 services/api/app/assets/javascripts/nodes.js.coffee delete mode 100644 services/api/app/assets/javascripts/pipeline_instances.js.coffee delete mode 100644 services/api/app/assets/javascripts/pipeline_templates.js.coffee delete mode 100644 services/api/app/assets/javascripts/repositories.js.coffee delete mode 100644 services/api/app/assets/javascripts/specimens.js.coffee delete mode 100644 services/api/app/assets/javascripts/traits.js.coffee delete mode 100644 services/api/app/assets/javascripts/virtual_machines.js.coffee diff --git a/services/api/app/assets/javascripts/api_client_authorizations.js.coffee b/services/api/app/assets/javascripts/api_client_authorizations.js.coffee deleted file mode 100644 index 761567942f..0000000000 --- a/services/api/app/assets/javascripts/api_client_authorizations.js.coffee +++ /dev/null @@ -1,3 +0,0 @@ -# Place all the behaviors and hooks related to the matching controller here. -# All this logic will automatically be available in application.js. -# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/ diff --git a/services/api/app/assets/javascripts/api_clients.js.coffee b/services/api/app/assets/javascripts/api_clients.js.coffee deleted file mode 100644 index 761567942f..0000000000 --- a/services/api/app/assets/javascripts/api_clients.js.coffee +++ /dev/null @@ -1,3 +0,0 @@ -# Place all the behaviors and hooks related to the matching controller here. -# All this logic will automatically be available in application.js. -# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/ diff --git a/services/api/app/assets/javascripts/application.js b/services/api/app/assets/javascripts/application.js deleted file mode 100644 index 37c7bfcdb5..0000000000 --- a/services/api/app/assets/javascripts/application.js +++ /dev/null @@ -1,9 +0,0 @@ -// This is a manifest file that'll be compiled into including all the files listed below. -// Add new JavaScript/Coffee code in separate files in this directory and they'll automatically -// be included in the compiled file accessible from http://example.com/assets/application.js -// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the -// the compiled file. -// -//= require jquery -//= require jquery_ujs -//= require_tree . diff --git a/services/api/app/assets/javascripts/authorized_keys.js.coffee b/services/api/app/assets/javascripts/authorized_keys.js.coffee deleted file mode 100644 index 761567942f..0000000000 --- a/services/api/app/assets/javascripts/authorized_keys.js.coffee +++ /dev/null @@ -1,3 +0,0 @@ -# Place all the behaviors and hooks related to the matching controller here. -# All this logic will automatically be available in application.js. -# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/ diff --git a/services/api/app/assets/javascripts/collections.js.coffee b/services/api/app/assets/javascripts/collections.js.coffee deleted file mode 100644 index 761567942f..0000000000 --- a/services/api/app/assets/javascripts/collections.js.coffee +++ /dev/null @@ -1,3 +0,0 @@ -# Place all the behaviors and hooks related to the matching controller here. -# All this logic will automatically be available in application.js. -# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/ diff --git a/services/api/app/assets/javascripts/commit_ancestors.js.coffee b/services/api/app/assets/javascripts/commit_ancestors.js.coffee deleted file mode 100644 index 761567942f..0000000000 --- a/services/api/app/assets/javascripts/commit_ancestors.js.coffee +++ /dev/null @@ -1,3 +0,0 @@ -# Place all the behaviors and hooks related to the matching controller here. -# All this logic will automatically be available in application.js. -# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/ diff --git a/services/api/app/assets/javascripts/commits.js.coffee b/services/api/app/assets/javascripts/commits.js.coffee deleted file mode 100644 index 761567942f..0000000000 --- a/services/api/app/assets/javascripts/commits.js.coffee +++ /dev/null @@ -1,3 +0,0 @@ -# Place all the behaviors and hooks related to the matching controller here. -# All this logic will automatically be available in application.js. -# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/ diff --git a/services/api/app/assets/javascripts/groups.js.coffee b/services/api/app/assets/javascripts/groups.js.coffee deleted file mode 100644 index 761567942f..0000000000 --- a/services/api/app/assets/javascripts/groups.js.coffee +++ /dev/null @@ -1,3 +0,0 @@ -# Place all the behaviors and hooks related to the matching controller here. -# All this logic will automatically be available in application.js. -# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/ diff --git a/services/api/app/assets/javascripts/humans.js.coffee b/services/api/app/assets/javascripts/humans.js.coffee deleted file mode 100644 index 761567942f..0000000000 --- a/services/api/app/assets/javascripts/humans.js.coffee +++ /dev/null @@ -1,3 +0,0 @@ -# Place all the behaviors and hooks related to the matching controller here. -# All this logic will automatically be available in application.js. -# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/ diff --git a/services/api/app/assets/javascripts/job_tasks.js.coffee b/services/api/app/assets/javascripts/job_tasks.js.coffee deleted file mode 100644 index 761567942f..0000000000 --- a/services/api/app/assets/javascripts/job_tasks.js.coffee +++ /dev/null @@ -1,3 +0,0 @@ -# Place all the behaviors and hooks related to the matching controller here. -# All this logic will automatically be available in application.js. -# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/ diff --git a/services/api/app/assets/javascripts/jobs.js.coffee b/services/api/app/assets/javascripts/jobs.js.coffee deleted file mode 100644 index 761567942f..0000000000 --- a/services/api/app/assets/javascripts/jobs.js.coffee +++ /dev/null @@ -1,3 +0,0 @@ -# Place all the behaviors and hooks related to the matching controller here. -# All this logic will automatically be available in application.js. -# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/ diff --git a/services/api/app/assets/javascripts/keep_disks.js.coffee b/services/api/app/assets/javascripts/keep_disks.js.coffee deleted file mode 100644 index 761567942f..0000000000 --- a/services/api/app/assets/javascripts/keep_disks.js.coffee +++ /dev/null @@ -1,3 +0,0 @@ -# Place all the behaviors and hooks related to the matching controller here. -# All this logic will automatically be available in application.js. -# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/ diff --git a/services/api/app/assets/javascripts/links.js.coffee b/services/api/app/assets/javascripts/links.js.coffee deleted file mode 100644 index 761567942f..0000000000 --- a/services/api/app/assets/javascripts/links.js.coffee +++ /dev/null @@ -1,3 +0,0 @@ -# Place all the behaviors and hooks related to the matching controller here. -# All this logic will automatically be available in application.js. -# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/ diff --git a/services/api/app/assets/javascripts/logs.js.coffee b/services/api/app/assets/javascripts/logs.js.coffee deleted file mode 100644 index 761567942f..0000000000 --- a/services/api/app/assets/javascripts/logs.js.coffee +++ /dev/null @@ -1,3 +0,0 @@ -# Place all the behaviors and hooks related to the matching controller here. -# All this logic will automatically be available in application.js. -# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/ diff --git a/services/api/app/assets/javascripts/nodes.js b/services/api/app/assets/javascripts/nodes.js deleted file mode 100644 index a734426a75..0000000000 --- a/services/api/app/assets/javascripts/nodes.js +++ /dev/null @@ -1,17 +0,0 @@ -// -*- mode: javascript; js-indent-level: 4; indent-tabs-mode: nil; -*- -// Place all the behaviors and hooks related to the matching controller here. -// All this logic will automatically be available in application.js. - -var loaded_nodes_js; -$(function(){ - if (loaded_nodes_js) return; loaded_nodes_js = true; - - $('[data-showhide-selector]').on('click', function(e){ - var x = $($(this).attr('data-showhide-selector')); - if (x.css('display') == 'none') - x.show(); - else - x.hide(); - }); - $('[data-showhide-default]').hide(); -}); diff --git a/services/api/app/assets/javascripts/nodes.js.coffee b/services/api/app/assets/javascripts/nodes.js.coffee deleted file mode 100644 index 761567942f..0000000000 --- a/services/api/app/assets/javascripts/nodes.js.coffee +++ /dev/null @@ -1,3 +0,0 @@ -# Place all the behaviors and hooks related to the matching controller here. -# All this logic will automatically be available in application.js. -# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/ diff --git a/services/api/app/assets/javascripts/pipeline_instances.js.coffee b/services/api/app/assets/javascripts/pipeline_instances.js.coffee deleted file mode 100644 index 761567942f..0000000000 --- a/services/api/app/assets/javascripts/pipeline_instances.js.coffee +++ /dev/null @@ -1,3 +0,0 @@ -# Place all the behaviors and hooks related to the matching controller here. -# All this logic will automatically be available in application.js. -# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/ diff --git a/services/api/app/assets/javascripts/pipeline_templates.js.coffee b/services/api/app/assets/javascripts/pipeline_templates.js.coffee deleted file mode 100644 index 761567942f..0000000000 --- a/services/api/app/assets/javascripts/pipeline_templates.js.coffee +++ /dev/null @@ -1,3 +0,0 @@ -# Place all the behaviors and hooks related to the matching controller here. -# All this logic will automatically be available in application.js. -# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/ diff --git a/services/api/app/assets/javascripts/repositories.js.coffee b/services/api/app/assets/javascripts/repositories.js.coffee deleted file mode 100644 index 761567942f..0000000000 --- a/services/api/app/assets/javascripts/repositories.js.coffee +++ /dev/null @@ -1,3 +0,0 @@ -# Place all the behaviors and hooks related to the matching controller here. -# All this logic will automatically be available in application.js. -# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/ diff --git a/services/api/app/assets/javascripts/specimens.js.coffee b/services/api/app/assets/javascripts/specimens.js.coffee deleted file mode 100644 index 761567942f..0000000000 --- a/services/api/app/assets/javascripts/specimens.js.coffee +++ /dev/null @@ -1,3 +0,0 @@ -# Place all the behaviors and hooks related to the matching controller here. -# All this logic will automatically be available in application.js. -# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/ diff --git a/services/api/app/assets/javascripts/traits.js.coffee b/services/api/app/assets/javascripts/traits.js.coffee deleted file mode 100644 index 761567942f..0000000000 --- a/services/api/app/assets/javascripts/traits.js.coffee +++ /dev/null @@ -1,3 +0,0 @@ -# Place all the behaviors and hooks related to the matching controller here. -# All this logic will automatically be available in application.js. -# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/ diff --git a/services/api/app/assets/javascripts/virtual_machines.js.coffee b/services/api/app/assets/javascripts/virtual_machines.js.coffee deleted file mode 100644 index 761567942f..0000000000 --- a/services/api/app/assets/javascripts/virtual_machines.js.coffee +++ /dev/null @@ -1,3 +0,0 @@ -# Place all the behaviors and hooks related to the matching controller here. -# All this logic will automatically be available in application.js. -# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/ -- 2.30.2