repo.or.cz
/
chromium-blink-merge.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Disable view source for Developer Tools.
[chromium-blink-merge.git]
/
chrome
/
test
/
data
/
third_party
/
spaceport
/
js
/
sprites
/
transformers.js
blob
5316a180ef717b704cccc8142f5871bde3674848
1
(function () {
2
var names = [
3
'scale',
4
'translate',
5
'rotate'
6
];
7
8
var filenames = [ ];
9
names.forEach(function (name) {
10
filenames.push('sprites/transformers/' + name);
11
});
12
13
define(filenames, function (/* ... */) {
14
var renderers = { };
15
var values = arguments;
16
names.forEach(function (name, i) {
17
renderers[name] = values[i];
18
});
19
20
return renderers;
21
});
22
}());