Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion source/maintenance-guide/maintenance-guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ To setup your dev environment please follow these instructions:

1. Get the solution from Github. Clone the OS2IoT-docker, OS2IoT-backend, and OS2IoT-frontend.
2. Install typescript and angular globally on your computer.
a. Angular 9 – install by open terminal and type :code:`npm install -g @angular/cli`
a. Angular 17 – install by open terminal and type :code:`npm install -g @angular/cli@17`
b. Typescript – install by open terminal and type :code:`npm install -g typescript`
3. For OS2IoT-frontend install dependencies and start
a. Navigate terminal to the OS2IoT-frontend folder and type :code:`npm install`
Expand Down
4 changes: 2 additions & 2 deletions source/programming-guidelines/programming-guidelines.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ Form and style

- Each logical component is in its own file.

- Indentation is 4 spaces
- Indentation is 2 spaces

- Lines should be broken if they exceed 160 characters
- Lines should be broken if they exceed 120 characters

- Only have one declaration pr. Line

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ JavaScript

In accordance with the Angular best practices TypeScript is used and
compiled to JavaScript. As of the date of writing this document the
newest version of Angular (9.1) uses TypeScript 3.8. This supports the
used version of Angular (17) uses TypeScript 5. This supports the
newest browsers in accordance with the agreement with the customer and
thus this is used.

Expand Down