massive readme update

This commit is contained in:
2024-01-08 21:21:10 +01:00
parent b4cc35084c
commit 4199e99d81
5 changed files with 74 additions and 62 deletions

View File

@@ -33,7 +33,6 @@ interface Window {
}
window.impress = () => {
'use strict';
/**
* This function is used to initialize impress. It calls some prep functions and then loads
* all plugins that are registered. By default, these are the built-in plugins. You can define
@@ -43,7 +42,7 @@ window.impress = () => {
*/
var init: Function = ( pluginsToLoad?: Array<String> ): undefined => {
if ( typeof pluginsToLoad !== 'undefined' ) {
}
console.log( 'init' );
};

View File

@@ -13,6 +13,7 @@
<html>
<head>
<title></title>
<link rel="stylesheet" href="style.css">
</head>
<body class="impress-not-supported">
<div id="impress" data-width="1920" data-height="1080">
@@ -21,7 +22,7 @@
</div>
</div>
<script src="./impress.js"></script>
<script src="./impress.js"/>
<script>impress().init()</script>
</body>
</html>