Skip to content

Commit

Permalink
merge issues
Browse files Browse the repository at this point in the history
  • Loading branch information
donseba committed Nov 25, 2024
1 parent 4bfe01d commit 75db38c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 270 deletions.
2 changes: 1 addition & 1 deletion examples/tabs/index.gohtml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@

<script>
// Initialize the handler with optional configuration
const xP = new XPartial({
const partial = new Partial({
enableUrlParam: true, // Enable URL parameter setting
urlParamName: 'x-select', // Name of the query parameter (e.g., 'selected', 'tab')
replaceState: false // Use pushState (false) or replaceState (true) when updating the URL
Expand Down
4 changes: 2 additions & 2 deletions js/partial.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/

/**
* Class representing XPartial.
* Class representing Partial.
*/
class Partial {
/**
Expand Down Expand Up @@ -567,7 +567,7 @@ class Partial {
}

/**
* Allows manually re-scanning a specific container for XPartial elements.
* Allows manually re-scanning a specific container for Partial elements.
* Useful when dynamically adding content to the DOM.
* @param {HTMLElement} container
*/
Expand Down
267 changes: 0 additions & 267 deletions js/standalone.js

This file was deleted.

0 comments on commit 75db38c

Please sign in to comment.