Comparing version 2.0.6 to 2.0.7
@@ -54,3 +54,3 @@ /* UMD.define */ (typeof define=="function"&&define||function(d,f,m){m={module:module,require:require};module.exports=f.apply(null,d.map(function(n){return m[n]||require(n)}))}) | ||
var value = connectivity.get(base); | ||
++value.counter; | ||
index + 1 != array.length && ++value.counter; | ||
if (index) { | ||
@@ -57,0 +57,0 @@ value.links.push(array[index - 1]); |
@@ -54,3 +54,3 @@ (function(_,f){window.dcl=f();}) | ||
var value = connectivity.get(base); | ||
++value.counter; | ||
index + 1 != array.length && ++value.counter; | ||
if (index) { | ||
@@ -57,0 +57,0 @@ value.links.push(array[index - 1]); |
@@ -54,3 +54,3 @@ export default (function(_,f){return f();}) | ||
var value = connectivity.get(base); | ||
++value.counter; | ||
index + 1 != array.length && ++value.counter; | ||
if (index) { | ||
@@ -57,0 +57,0 @@ value.links.push(array[index - 1]); |
{ | ||
"name": "dcl", | ||
"version": "2.0.6", | ||
"version": "2.0.7", | ||
"description": "Elegant minimalistic implementation of OOP with mixins + AOP.", | ||
@@ -5,0 +5,0 @@ "author": "Eugene Lazutkin <eugene.lazutkin@gmail.com> (http://lazutkin.com/)", |
@@ -255,2 +255,3 @@ # `dcl` | ||
- 2.0.7 — *A bugfix. Thx [Bill Keese](https://github.com/wkeese)!* | ||
- 2.0.6 — *Bugfixes. Thx [Bill Keese](https://github.com/wkeese)!* | ||
@@ -257,0 +258,0 @@ - 2.0.5 — *Regenerated ES6 distro.* |
@@ -194,2 +194,17 @@ /* UMD.define */ (typeof define=="function"&&define||function(d,f,m){m={module:module,require:require};module.exports=f.apply(null,d.map(function(n){return m[n]||require(n)}))}) | ||
} | ||
}, | ||
function test_four_classes (t) { | ||
var A = dcl(null, {declaredClass: 'A'}); | ||
var B = dcl(null, {declaredClass: 'B'}); | ||
var C = dcl(A, {declaredClass: 'C'}); | ||
var D = dcl([B, C], {declaredClass: 'D'}); | ||
eval(t.TEST('getNames(A) === "A"')); | ||
eval(t.TEST('getNames(B) === "B"')); | ||
eval(t.TEST('getNames(C) === "A,C"')); | ||
eval(t.TEST('getNames(D) === "B,A,C,D"')); | ||
var E = dcl([D, A], {declaredClass: 'E'}); | ||
eval(t.TEST('getNames(E) === "B,A,C,D,E"')); | ||
} | ||
@@ -196,0 +211,0 @@ ]); |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
207686
6085
280
177