Mercurial > js4py
view misc.js @ 213:0ea90a1819c2 default tip
Custom theming
| author | Radomir Dopieralski <radomir.dopieralski@allegro.pl> |
|---|---|
| date | Wed, 27 Jun 2012 16:35:54 +0200 |
| parents | 48d5ba601286 |
| children |
line wrap: on
line source
var create = function(parent){ if (typeof parent === 'object' && parent !== null){ var fn = function(){}; fn.prototype = parent; return new fn(); } return null; // Or raise an exception. };
