MCPcopy Index your code
hub / github.com/socketio/socket.io / _createClass

Function _createClass

client-dist/socket.io.js:35–42  ·  view source on GitHub ↗
(Constructor, protoProps, staticProps)

Source from the content-addressed store, hash-verified

33 }
34 }
35 function _createClass(Constructor, protoProps, staticProps) {
36 if (protoProps) _defineProperties(Constructor.prototype, protoProps);
37 if (staticProps) _defineProperties(Constructor, staticProps);
38 Object.defineProperty(Constructor, "prototype", {
39 writable: false
40 });
41 return Constructor;
42 }
43 function _extends() {
44 _extends = Object.assign ? Object.assign.bind() : function (target) {
45 for (var i = 1; i < arguments.length; i++) {

Callers 1

socket.io.jsFile · 0.85

Calls 1

_definePropertiesFunction · 0.85

Tested by

no test coverage detected