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

Side by Side Diff: chrome/test/data/third_party/spaceport/js/util/create.js

Issue 10134041: 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 define([ ], function () {
2 // Simplified Object.create shim for easy prototypal inheritence.
3 if (Object.create) {
4 return function create(proto) {
5 return Object.create(proto);
6 };
7 } else {
8 return function create(proto) {
9 function TempClass() { }
10 TempClass.prototype = proto;
11 return new TempClass();
12 };
13 }
14 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698