Index: third_party/web-animations-js/sources/target-loader.js |
diff --git a/third_party/web-animations-js/sources/target-loader.js b/third_party/web-animations-js/sources/target-loader.js |
deleted file mode 100644 |
index a4a9d30fd414913d2b342cdd669ae3336cbb0303..0000000000000000000000000000000000000000 |
--- a/third_party/web-animations-js/sources/target-loader.js |
+++ /dev/null |
@@ -1,13 +0,0 @@ |
-(function() { |
- var target = webAnimationsTargetConfig.defaultTarget; |
- if (typeof webAnimationsSourceTarget != 'undefined') |
- target = webAnimationsSourceTarget; |
- |
- // Native implementation detection. |
- |
- var scripts = document.getElementsByTagName('script'); |
- var location = scripts[scripts.length - 1].src.replace(/[^\/]+$/, ''); |
- webAnimationsTargetConfig[target].src.forEach(function(sourceFile) { |
- document.write('<script src="' + location + sourceFile + '"></script>'); |
- }); |
-})(); |