nv-facutil-def-bw-attr 1.0.3 → 1.0.5

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 (2) hide show
  1. package/index.js +1 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -204,7 +204,7 @@ const init_dflts = (self,ATTRS)=>{
204
204
  }
205
205
  }
206
206
 
207
- const exec_when_attr_change = async (ATTRS,ACTIONS,self,attr,val)=>{
207
+ const exec_when_attr_change = async (ACTIONS,ATTRS,self,attr,val)=>{
208
208
  let {action,type,accessor_name,extra} = ATTRS[attr];
209
209
  if(typeof(action) === "string") {
210
210
  return ACTIONS[action](self,attr,type,val,accessor_name,extra);
@@ -215,7 +215,6 @@ const exec_when_attr_change = async (ATTRS,ACTIONS,self,attr,val)=>{
215
215
  }
216
216
 
217
217
  module.exports = (ACTIONS,ATTRS)=>{
218
- let ACTS = creat_actions();
219
218
  for(let k in DFLT_ACTS) {
220
219
  if(ACTIONS[k] === undefined) {
221
220
  ACTIONS[k] = DFLT_ACTS[k]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nv-facutil-def-bw-attr",
3
- "version": "1.0.3",
3
+ "version": "1.0.5",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"