@kizmann/nano-ui 0.8.0 → 0.8.2

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kizmann/nano-ui",
3
- "version": "0.8.0",
3
+ "version": "0.8.2",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "author": "Eduard Kizmann <kizmann@protonmail.ch>",
@@ -186,7 +186,7 @@ export default {
186
186
  $scope: this.scope, $model: this.tempValue, $global: window
187
187
  };
188
188
 
189
- if ( Obj.get(sources, prop, undefined) === undefined ) {
189
+ if ( Obj.get(sources, prop, -1337) === -1337 ) {
190
190
  Obj.set(sources, prop, fallback);
191
191
  }
192
192
 
@@ -266,7 +266,7 @@ export default {
266
266
  };
267
267
 
268
268
  props[this.toPropKey(key)] = this.getInput(value.value,
269
- props.fallback);
269
+ value.fallback);
270
270
  });
271
271
 
272
272
  let element = alias.replace(/:.*?$/, '');
@@ -152,7 +152,7 @@ export default {
152
152
 
153
153
  ready()
154
154
  {
155
- this.$watch('form', this.emitChange, { deep: true });
155
+ this.$watch('form', Any.debounce(this.emitChange, 300), { deep: true });
156
156
  },
157
157
 
158
158
  render()