Skip to content

Commit

Permalink
Issue sentier-dev#129: Fixed asset scripts root entrypoint bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
lilliputten committed Apr 6, 2024
1 parent 04ebead commit e7f7280
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 34 deletions.
21 changes: 9 additions & 12 deletions src/assets/scripts.ts
Original file line number Diff line number Diff line change
@@ -1,22 +1,19 @@
/**
* @desc Main js entry point module (scripts)
* @module src/assets/scripts.ts
* @changed 2024.04.04, 16:06
* @changed 2024.04.06, 22:00
*/

/* NOTE: These modules are unused. Used only
* `src/assets/stripe-init/stripe_payment_intents_support.ts`, via requirejs,
* without exposing to global scope.
/* // NOTE: These modules are unused. Used only
* // `src/assets/stripe-init/stripe_payment_intents_support.ts`, via requirejs,
* // without exposing to global scope.
*
* import { billing_event_stripe_payment_proceed } from './stripe-init/billing_event_stripe_payment_proceed';
* import { billing_membership_stripe_payment_proceed } from './stripe-init/billing_membership_stripe_payment_proceed';
*
* // Expose functions to global scope...
* window.billing_event_stripe_payment_proceed = billing_event_stripe_payment_proceed;
* window.billing_membership_stripe_payment_proceed = billing_membership_stripe_payment_proceed;
* import { startStripeElementsForm } from './stripe-init/stripe_payment_intents_support';
*
* console.log('[scripts] Main client code entry point', {
* billing_event_stripe_payment_proceed,
* billing_membership_stripe_payment_proceed,
* startStripeElementsForm,
* });
*/

// Empty root module
export {};
29 changes: 8 additions & 21 deletions static/assets/scripts.js

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

2 changes: 1 addition & 1 deletion static/assets/scripts.js.map

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

0 comments on commit e7f7280

Please sign in to comment.