20690: Remove workbench1 and testing/packaging references.
[arvados.git] / apps / workbench / app / assets / javascripts / angular_shim.js
diff --git a/apps/workbench/app/assets/javascripts/angular_shim.js b/apps/workbench/app/assets/javascripts/angular_shim.js
deleted file mode 100644 (file)
index 5da6728..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-// Copyright (C) The Arvados Authors. All rights reserved.
-//
-// SPDX-License-Identifier: AGPL-3.0
-
-// Compile any new HTML content that was loaded via jQuery.ajax().
-// Currently this only works for tabs, and only because they emit an
-// arv:pane:loaded event after updating the DOM.
-
-$(document).on('arv:pane:loaded', function(event, $updatedElement) {
-    if (angular && $updatedElement && angular.element($updatedElement).injector()) {
-        angular.element($updatedElement).injector().invoke([
-            '$compile', function($compile) {
-                var scope = angular.element($updatedElement).scope();
-                $compile($updatedElement)(scope);
-            }]);
-    }
-});