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

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

Issue 10154006: Add test data for spaceport benchmark. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/test/data/third_party/spaceport/js/sprites/sources.js
diff --git a/chrome/test/data/third_party/spaceport/js/sprites/sources.js b/chrome/test/data/third_party/spaceport/js/sprites/sources.js
new file mode 100644
index 0000000000000000000000000000000000000000..1f494e5f982235f41a16982e72fd1f44b4ac6579
--- /dev/null
+++ b/chrome/test/data/third_party/spaceport/js/sprites/sources.js
@@ -0,0 +1,21 @@
+(function () {
+ var names = [
+ 'image',
+ //'spriteSheet'
+ ];
+
+ var filenames = [ ];
+ names.forEach(function (name) {
+ filenames.push('sprites/sources/' + name);
+ });
+
+ define(filenames, function (/* ... */) {
+ var sources = { };
+ var values = arguments;
+ names.forEach(function (name, i) {
+ sources[name] = values[i];
+ });
+
+ return sources;
+ });
+}());

Powered by Google App Engine
This is Rietveld 408576698