@javish/lib 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/changes.md +1 -0
  2. package/index.js +4 -1
  3. package/package.json +1 -1
package/changes.md CHANGED
@@ -4,3 +4,4 @@
4
4
 
5
5
  - export `FnImplFactory` from runtimes to consume to emulate functional
6
6
  interfaces.
7
+ s
package/index.js CHANGED
@@ -77,6 +77,9 @@ module.exports.FnImplFactory = (Base, Impl) => {
77
77
  if(typeof Target.prototype.const=='function') {
78
78
  Target.prototype.const.call(STATE)
79
79
  }
80
+ else if(typeof Target.prototype.конструктор=='function') {
81
+ Target.prototype.конструктор.call(STATE)
82
+ }
80
83
  // else if(typeof Target.prototype.constr=='function') {
81
84
  // Target.prototype.constr.call(STATE)
82
85
  // }
@@ -89,7 +92,7 @@ module.exports.FnImplFactory = (Base, Impl) => {
89
92
  },
90
93
  }
91
94
 
92
- console.log('created new functional', Base)
95
+ // console.log('created new functional', Base)
93
96
  return new Proxy(target, handler)
94
97
  }
95
98
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@javish/lib",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "author": {
5
5
  "name": "British Software",
6
6
  "email": "packages+javish@british.software"