INNER CODE UNIT · JavaScript

prop

moddio/taro · engine/components/network/net.io/net.io-server/index.js:149

		var prop = arguments[arguments.length - 1];
		var extensionArray = arguments[0];
		var extensionItem;
		var extensionOverwrite;
		var extensionIndex;
		var propertyIndex;
		var propertyObject;

		// Instantiate a base class (but only create the instance,
		// don't run the init constructor)
		initializing = true;
		prototype = new this();
		initializing = false;

		// Copy the properties over onto the new prototype
		for (name in prop) {
			// Check if we're overwriting an existing function
			if (typeof (prop[name]) === 'function' && typeof (_super[name]) === 'function' && fnTest.test(prop[name])) {

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…