mirror of
https://github.com/zulip/zulip-desktop.git
synced 2025-11-14 02:47:49 +00:00
The change in this commits are pretty involved but cannot be split
into small commits. The main changes in this commits are:
* Remove declare module * now that we don't need it
* Normalize import paths so typescript is happy
Previously, we were using wrong import paths and so typescript couldn't
really provide full types information for imports. The wrong paths isn't
a bug because it was done to make sure it work when it was imported via a
script tag; we fix this by using require inside the script tag in main.html.
Also, did audit to make sure we correctly use __dirname not that it's
value will be diffrent, it won't be js/ but will be respective to the file
path of the module.
20 lines
635 B
HTML
20 lines
635 B
HTML
<!DOCTYPE html>
|
|
<html lang="en" class="responsive desktop">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<meta name="viewport" content="width=device-width">
|
|
<title>Zulip - Settings</title>
|
|
<link rel="stylesheet" href="css/preference.css" type="text/css" media="screen">
|
|
</head>
|
|
<body>
|
|
<div id="content">
|
|
<div id="sidebar"></div>
|
|
<div id="settings-container"></div>
|
|
</div>
|
|
</body>
|
|
<script>
|
|
require('./js/pages/preference/preference.js');
|
|
require('./js/shared/preventdrag.js')
|
|
</script>
|
|
</html>
|