File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 2222
2323## Usage
2424
25- To use this SDK, call ` init(options) ` as early as possible after loading the page. This will initialize the SDK and hook
25+ To use this SDK, call ` Sentry. init(options)` as early as possible after loading the page. This will initialize the SDK and hook
2626into the environment. Note that you can turn off almost all side effects using the respective options.
2727
2828``` javascript
29- import { init } from ' @sentry/browser' ;
29+ import * as Sentry from ' @sentry/browser' ;
3030
31- init ({
31+ Sentry . init ({
3232 dsn: ' __DSN__' ,
3333 // ...
3434});
3535```
3636
3737To set context information or send manual events, use the exported functions of ` @sentry/browser ` . Note that these
38- functions will not perform any action before you have called ` init() ` :
38+ functions will not perform any action before you have called ` Sentry. init()` :
3939
4040``` javascript
4141import * as Sentry from ' @sentry/browser' ;
You can’t perform that action at this time.
0 commit comments