Skip to content

Commit 0abe7b8

Browse files
committed
2-space indentation in Angular 2 docs
1 parent 70f835f commit 0abe7b8

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

docs/integrations/angular2.rst

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,16 @@ First, configure SystemJS to locate the Raven.js package:
3636
.. code-block:: js
3737
3838
System.config({
39-
packages: {
40-
/* ... existing packages above ... */
41-
'raven-js': {
42-
main: 'dist/raven.js'
43-
}
44-
},
45-
paths: {
46-
/* ... existing paths above ... */
47-
'raven-js': 'node_modules/raven-js'
39+
packages: {
40+
/* ... existing packages above ... */
41+
'raven-js': {
42+
main: 'dist/raven.js'
4843
}
44+
},
45+
paths: {
46+
/* ... existing paths above ... */
47+
'raven-js': 'node_modules/raven-js'
48+
}
4949
});
5050
5151
Then, in your main application file (where ``bootstrap`` is called, e.g. main.ts):
@@ -58,8 +58,8 @@ Then, in your main application file (where ``bootstrap`` is called, e.g. main.ts
5858
import { provide, ExceptionHandler } from 'angular2/core';
5959
6060
Raven
61-
.config('__PUBLIC_DSN__')
62-
.install();
61+
.config('__PUBLIC_DSN__')
62+
.install();
6363
6464
class RavenExceptionHandler {
6565
call(err:any) {
@@ -68,7 +68,7 @@ Then, in your main application file (where ``bootstrap`` is called, e.g. main.ts
6868
}
6969
7070
bootstrap(MainApp, [
71-
provide(ExceptionHandler, {useClass: RavenExceptionHandler})
71+
provide(ExceptionHandler, {useClass: RavenExceptionHandler})
7272
]);
7373
7474
Once you've completed these two steps, you are done.

0 commit comments

Comments
 (0)