MCPcopy Index your code
hub / github.com/processing/p5.js / _createClass

Function _createClass

lib/addons/p5.sound.js:1217–1217  ·  view source on GitHub ↗
(Constructor, protoProps, staticProps)

Source from the content-addressed store, hash-verified

1215function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
1216
1217function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
1218
1219
1220var panner_ac = main.audiocontext;

Callers 1

p5.sound.jsFile · 0.85

Calls 1

_definePropertiesFunction · 0.85

Tested by

no test coverage detected