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

Side by Side Diff: chrome/test/data/third_party/spaceport/js/sprites/sources.js

Issue 10134041: Add test data for spaceport benchmark. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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 | Annotate | Revision Log
OLDNEW
(Empty)
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 }());
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698