Skip to content

Commit

Permalink
update to 1.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Niko Berger committed Jul 25, 2013
1 parent c671fd0 commit f8ef335
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 12 deletions.
13 changes: 10 additions & 3 deletions dist/jquery.jsForm-1.0.4.js → dist/jquery.jsForm-1.0.5.js
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,8 @@

// skip empty
if(name.length < 1) {
return;
pojo = $(this).val();
return false;
}

var val = $(this).val();
Expand Down Expand Up @@ -631,6 +632,8 @@
// more should not be necessary
}
});

return pojo;
};


Expand Down Expand Up @@ -895,7 +898,7 @@
}

var ele = {};
that._createPojoFromInput($(this), fieldname, ele);
ele = that._createPojoFromInput($(this), fieldname, ele);

// also collect sub-collections
that._getCollection($(this), fieldname, ele, ignoreInvalid);
Expand Down Expand Up @@ -1289,7 +1292,7 @@
/**
* Retrieve a value from a given object by using dot-notation
* @param obj the object to start with
* @param the child to get (dot notation)
* @param the child to get (dot notation)
* @param create set to true and non-existant levels will be created (always returns non-null)
* @private
*/
Expand All @@ -1301,6 +1304,10 @@
if (!obj) {
return "";
}
// reference the object itself
if(expr === "")
return obj;

ret = obj[expr];
if(!ret) {
try {
Expand Down
6 changes: 0 additions & 6 deletions dist/jquery.jsForm.1.0.4.min.js

This file was deleted.

6 changes: 6 additions & 0 deletions dist/jquery.jsForm.1.0.5.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/jquery.jsForm.min.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion jsForm.jquery.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"json",
"data"
],
"version": "1.0.4",
"version": "1.0.5",
"author": {
"name": "Niko Berger"
},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "jquery.jsForm",
"title": "jQuery JSON Form",
"description": "jQuery based form library to handle data in js objects\nIt allows you to handle data within a javascript object (like from a JSON request) with plain html.\n\nThe main features of this library are:\n Full standard html with data available in a js object\n Update an existing js object with changes done within a form\n Provide basic functions for formatting (i.e. date/time, money) using html markup\n Provide form validation functionality\n handle collections (arrays) with subobjects\n provides helper methods to handle array manipulation (add new entry/remove an entry) using only html markup\n Can be used in connection with an autocomplete function to add new array objects",
"version": "1.0.4",
"version": "1.0.5",
"homepage": "https://github.com/corinis/jsForm",
"author": {
"name": "Niko Berger",
Expand Down

0 comments on commit f8ef335

Please sign in to comment.