Skip to content

Commit

Permalink
Fix forms after rename of method in navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
HTMLGuyLLC committed Jul 18, 2019
1 parent f454c3c commit 7e80007
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion dist/jpack.bundled.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/jpack.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion es/forms/FormFromURL.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ export class FormFromURL extends XHRForm {
if( typeof data === 'string' ){
if( typeof self.getIncomingElementSelector() === 'string' ){
//parse the incoming HTML
const parsed = navigation.parseHTML(data, self.getIncomingElementSelector());
const parsed = navigation._parseHTML(data, self.getIncomingElementSelector());
//provide the form's HTML in an object containing other details like the route and the full response to insertForm
return self.insertForm(parsed, data);
}
Expand Down
2 changes: 1 addition & 1 deletion es/forms/XHRForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ export class XHRForm {
//if we are looking for an element within the response
if( typeof self.getIncomingElementSelector() === 'string' ){
//parse the incoming HTML
const parsed = navigation.parseHTML(data, self.getIncomingElementSelector());
const parsed = navigation._parseHTML(data, self.getIncomingElementSelector());
//if the form was not found in it, let's assume it doesn't contain the form. If not, then maybe
if( !parsed.html.length ){
return self.triggerOnError(`${self.getIncomingElementSelector()} could not be found in response from the server`, data, form);
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

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": "@htmlguyllc/jpack",
"version": "9.0.25",
"version": "9.0.26",
"description": "Core Javascript Library of Everyday Objects, Events, and Utilities",
"keywords": [
"javascript",
Expand Down
6 changes: 3 additions & 3 deletions test/_jpack.bundled.js

Large diffs are not rendered by default.

0 comments on commit 7e80007

Please sign in to comment.