Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Side by Side Diff: third_party/web-animations-js/sources/target-loader.js

Issue 917523002: Pull web-animations-js into third-party via the third_party/polymer/reproduce.sh script. Add necess… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove .travis-setup.sh and make a note in README.chromium. Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 (function() {
2 var target = webAnimationsTargetConfig.defaultTarget;
3 if (typeof webAnimationsSourceTarget != 'undefined')
4 target = webAnimationsSourceTarget;
5
6 // Native implementation detection.
7
8 var scripts = document.getElementsByTagName('script');
9 var location = scripts[scripts.length - 1].src.replace(/[^\/]+$/, '');
10 webAnimationsTargetConfig[target].src.forEach(function(sourceFile) {
11 document.write('<script src="' + location + sourceFile + '"></script>');
12 });
13 })();
OLDNEW
« no previous file with comments | « third_party/web-animations-js/sources/target-config.js ('k') | third_party/web-animations-js/sources/templates/boilerplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698