File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed
docs/platforms/javascript/guides/hono Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -76,13 +76,13 @@ app.get("/", () => {
7676export default Sentry .withSentry (
7777 (env ) => ({
7878 dsn: " ___PUBLIC_DSN___" ,
79- // ___product_option_start___ performance
79+ // ___PRODUCT_OPTION_START___ performance
8080
8181 // Set tracesSampleRate to 1.0 to capture 100% of spans for tracing.
8282 // Learn more at
8383 // https://docs.sentry.io/platforms/javascript/configuration/options/#traces-sample-rate
8484 tracesSampleRate: 1.0 ,
85- // ___product_option_end___ performance
85+ // ___PRODUCT_OPTION_END___ performance
8686 }),
8787 app
8888);
@@ -132,13 +132,13 @@ export const onRequest = [
132132 // Make sure Sentry is the first middleware
133133 Sentry .sentryPagesPlugin ((context ) => ({
134134 dsn: " ___PUBLIC_DSN___" ,
135- // ___product_option_start___ performance
135+ // ___PRODUCT_OPTION_START___ performance
136136
137137 // Set tracesSampleRate to 1.0 to capture 100% of spans for tracing.
138138 // Learn more at
139139 // https://docs.sentry.io/platforms/javascript/configuration/options/#traces-sample-rate
140140 tracesSampleRate: 1.0 ,
141- // ___product_option_end___ performance
141+ // ___PRODUCT_OPTION_END___ performance
142142 })),
143143 // Add more middlewares here
144144];
Original file line number Diff line number Diff line change 203203 [data-onboarding-option ].hidden {
204204 display : none ;
205205 }
206- // force hide markers (___product_option_start___ and ___product_option_end___ )
206+ // force hide markers (___PRODUCT_OPTION_START___ and ___PRODUCT_OPTION_END___ )
207207 [data-onboarding-option-hidden ] {
208208 display : none ;
209209 }
Original file line number Diff line number Diff line change @@ -38,11 +38,11 @@ function visitor(node) {
3838 let currentOption ;
3939
4040 // product options syntax
41- // ___product_option_start___ performance
41+ // ___PRODUCT_OPTION_START___ performance
4242 // some lines here
43- // ___product_option_end___ performance
44- const PRODUCT_OPTION_START = '___product_option_start___ ' ;
45- const PRODUCT_OPTION_END = '___product_option_end___ ' ;
43+ // ___PRODUCT_OPTION_END___ performance
44+ const PRODUCT_OPTION_START = '___PRODUCT_OPTION_START___ ' ;
45+ const PRODUCT_OPTION_END = '___PRODUCT_OPTION_END___ ' ;
4646 node . children ?. forEach ( line => {
4747 const lineStr = toString ( line ) ;
4848 if ( lineStr . includes ( PRODUCT_OPTION_START ) ) {
You can’t perform that action at this time.
0 commit comments