1 define([ ], function () {
2 // Simplified Object.create shim for easy prototypal inheritence.
4 return function create(proto) {
5 return Object.create(proto);
8 return function create(proto) {
9 function TempClass() { }
10 TempClass.prototype = proto;
11 return new TempClass();