massive readme update
This commit is contained in:
@@ -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' );
|
||||
};
|
||||
|
||||
@@ -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>
|
||||
Reference in New Issue
Block a user