Skip to content
This repository has been archived by the owner on Dec 1, 2023. It is now read-only.

Commit

Permalink
v1.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Steffan committed May 15, 2019
1 parent ca9664b commit c905133
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 20 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ $ npm install vue-fields
```

### CDN
Available on [jsdelivr](https://cdn.jsdelivr.net/npm/[email protected].1) or [unpkg](https://unpkg.com/[email protected].1).
Available on [jsdelivr](https://cdn.jsdelivr.net/npm/[email protected].2) or [unpkg](https://unpkg.com/[email protected].2).
```html
<script src="https://cdn.jsdelivr.net/npm/[email protected].1"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].2"></script>
```

## Changelog
Expand Down
10 changes: 5 additions & 5 deletions dist/vue-fields.common.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* vue-fields v1.1.1
* vue-fields v1.1.2
* https://github.com/pagekit/vue-fields
* Released under the MIT License.
*/
Expand Down Expand Up @@ -49,10 +49,10 @@ function isUndefined(val) {
return typeof val === 'undefined';
}
function get(obj, key, def) {
var parts = key.split('.');
var parts = isArray(key) ? key : key.split('.');

for (var i = 0; i < parts.length; i++) {
if (!isUndefined(obj[parts[i]])) {
if (isObject(obj) && !isUndefined(obj[parts[i]])) {
obj = obj[parts[i]];
} else {
return def;
Expand All @@ -62,7 +62,7 @@ function get(obj, key, def) {
return obj;
}
function set(obj, key, val) {
var parts = key.split('.');
var parts = isArray(key) ? key : key.split('.');

while (parts.length > 1) {
var part = parts.shift();
Expand Down Expand Up @@ -631,7 +631,7 @@ var Plugin = {
Vue.component('field', Field);
Vue.component('fields', Fields);
},
version: '1.1.1'
version: '1.1.2'
};

if (typeof window !== 'undefined' && window.Vue) {
Expand Down
10 changes: 5 additions & 5 deletions dist/vue-fields.esm.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* vue-fields v1.1.1
* vue-fields v1.1.2
* https://github.com/pagekit/vue-fields
* Released under the MIT License.
*/
Expand Down Expand Up @@ -47,10 +47,10 @@ function isUndefined(val) {
return typeof val === 'undefined';
}
function get(obj, key, def) {
var parts = key.split('.');
var parts = isArray(key) ? key : key.split('.');

for (var i = 0; i < parts.length; i++) {
if (!isUndefined(obj[parts[i]])) {
if (isObject(obj) && !isUndefined(obj[parts[i]])) {
obj = obj[parts[i]];
} else {
return def;
Expand All @@ -60,7 +60,7 @@ function get(obj, key, def) {
return obj;
}
function set(obj, key, val) {
var parts = key.split('.');
var parts = isArray(key) ? key : key.split('.');

while (parts.length > 1) {
var part = parts.shift();
Expand Down Expand Up @@ -629,7 +629,7 @@ var Plugin = {
Vue.component('field', Field);
Vue.component('fields', Fields);
},
version: '1.1.1'
version: '1.1.2'
};

if (typeof window !== 'undefined' && window.Vue) {
Expand Down
10 changes: 5 additions & 5 deletions dist/vue-fields.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* vue-fields v1.1.1
* vue-fields v1.1.2
* https://github.com/pagekit/vue-fields
* Released under the MIT License.
*/
Expand Down Expand Up @@ -53,10 +53,10 @@
return typeof val === 'undefined';
}
function get(obj, key, def) {
var parts = key.split('.');
var parts = isArray(key) ? key : key.split('.');

for (var i = 0; i < parts.length; i++) {
if (!isUndefined(obj[parts[i]])) {
if (isObject(obj) && !isUndefined(obj[parts[i]])) {
obj = obj[parts[i]];
} else {
return def;
Expand All @@ -66,7 +66,7 @@
return obj;
}
function set(obj, key, val) {
var parts = key.split('.');
var parts = isArray(key) ? key : key.split('.');

while (parts.length > 1) {
var part = parts.shift();
Expand Down Expand Up @@ -635,7 +635,7 @@
Vue.component('field', Field);
Vue.component('fields', Fields);
},
version: '1.1.1'
version: '1.1.2'
};

if (typeof window !== 'undefined' && window.Vue) {
Expand Down
4 changes: 2 additions & 2 deletions dist/vue-fields.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-fields",
"version": "1.1.1",
"version": "1.1.2",
"description": "The form fields generator for Vue.js",
"homepage": "https://github.com/pagekit/vue-fields",
"license": "MIT",
Expand Down

0 comments on commit c905133

Please sign in to comment.