Roll src/third_party/WebKit d9c6159:8139f33 (svn 201974:201975)
[chromium-blink-merge.git] / chrome / test / data / third_party / spaceport / js / sprites / transformers.js
blob5316a180ef717b704cccc8142f5871bde3674848
1 (function () {
2 var names = [
3 'scale',
4 'translate',
5 'rotate'
6 ];
8 var filenames = [ ];
9 names.forEach(function (name) {
10 filenames.push('sprites/transformers/' + name);
11 });
13 define(filenames, function (/* ... */) {
14 var renderers = { };
15 var values = arguments;
16 names.forEach(function (name, i) {
17 renderers[name] = values[i];
18 });
20 return renderers;
21 });
22 }());