Skip to content

Commit

Permalink
#25 merged webpack set up into main
Browse files Browse the repository at this point in the history
  • Loading branch information
katrina-cityofdetroit committed Jul 17, 2024
2 parents 15da599 + 98e1016 commit 7649099
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Still in development.

See deployment here: https://kwheelan.github.io/budget-request-demo/
See deployment here: https://kwheelan.github.io/Departmental-Budget-Request-Form

## Contributing

Expand All @@ -28,4 +28,4 @@ yarn start
Run webpack bundler:
```bash
yarn build
```
```
19 changes: 19 additions & 0 deletions js/init.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
// import functions
import { loadPageState } from './utils/data_utils/local_storage_handlers.js'
import { visitPage } from './views/view_logic.js'

export let REVENUE = 0;
export let TARGET = 2000000;
export var FISCAL_YEAR = '26';

// variables on the salary
export var fringe = 0.36
export var cola = 0.02
export var merit = 0.02


document.addEventListener('DOMContentLoaded', function () {
var page_state = loadPageState();
visitPage(page_state);
});

0 comments on commit 7649099

Please sign in to comment.