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
Merge Chromium + Blink git repositories
[chromium-blink-merge.git]
/
chrome
/
test
/
data
/
third_party
/
spaceport
/
js
/
sprites
/
sources.js
blob
1f494e5f982235f41a16982e72fd1f44b4ac6579
1
(function () {
2
var names = [
3
'image',
4
//'spriteSheet'
5
];
6
7
var filenames = [ ];
8
names.forEach(function (name) {
9
filenames.push('sprites/sources/' + name);
10
});
11
12
define(filenames, function (/* ... */) {
13
var sources = { };
14
var values = arguments;
15
names.forEach(function (name, i) {
16
sources[name] = values[i];
17
});
18
19
return sources;
20
});
21
}());