Socket
Socket
Sign inDemoInstall

can-construct

Package Overview
Dependencies
5
Maintainers
12
Versions
40
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.5.0 to 3.5.1

28

can-construct.js

@@ -335,15 +335,15 @@ "use strict";

*
*
* Group = Construct.extend({
* setup: function(Construct, fullName, staticProps, protoProps){
* this.childGroups = [];
* if(Construct !== Construct){
* this.childGroups.push(Construct)
* }
* Construct.setup.apply(this, arguments)
* }
* },{})
* var Flock = Group.extend(...)
* Group.childGroups[0] //-> Flock
*
* ```js
* Group = Construct.extend({
* setup: function(Construct, fullName, staticProps, protoProps){
* this.childGroups = [];
* if(Construct !== Construct){
* this.childGroups.push(Construct)
* }
* Construct.setup.apply(this, arguments)
* }
* },{})
* var Flock = Group.extend(...)
* Group.childGroups[0] //-> Flock
* ```
* @param {constructor} base The base constructor that is being inherited from.

@@ -742,3 +742,3 @@ * @param {String} fullName The name of the new constructor.

*
* ```
* ```js
* var Student = function( name, school ){

@@ -745,0 +745,0 @@ * this.name = name;

{
"name": "can-construct",
"version": "3.5.0",
"version": "3.5.1",
"description": "easy constructor functions",

@@ -5,0 +5,0 @@ "homepage": "http://canjs.com",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc