artdaq_node_server  v1_00_07
 All Classes Namespaces Files Variables Pages
/scratch/workspace/artdaq-demo-v2_09_03/SLF7/s48-e10-debug/build/artdaq_node_server/v1_00_07/src/node_modules/xml2js/node_modules/xmlbuilder/node_modules/lodash/create.js

function Shape() { this.x = 0; this.y = 0; }

function Circle() { Shape.call(this); }

Circle.prototype = _.create(Shape.prototype, { 'constructor': Circle });

var circle = new Circle; circle instanceof Circle; // => true

circle instanceof Shape; // => true