mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-04 05:28:59 +01:00 
			
		
		
		
	build: let webpack bundle split.js
This commit is contained in:
		
							parent
							
								
									49a2eb0ccf
								
							
						
					
					
						commit
						559517ace1
					
				@ -1,4 +1,5 @@
 | 
			
		||||
import options from "./options.js";
 | 
			
		||||
import Split from "split.js"
 | 
			
		||||
 | 
			
		||||
let leftInstance: ReturnType<typeof Split> | null;
 | 
			
		||||
let rightInstance: ReturnType<typeof Split> | null;
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										7
									
								
								src/public/app/types.d.ts
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										7
									
								
								src/public/app/types.d.ts
									
									
									
									
										vendored
									
									
								
							@ -123,13 +123,6 @@ declare global {
 | 
			
		||||
            language: string
 | 
			
		||||
        });
 | 
			
		||||
    };
 | 
			
		||||
    var Split: (selectors: string[], config: {
 | 
			
		||||
        sizes: [ number, number ];
 | 
			
		||||
        gutterSize: number;
 | 
			
		||||
        onDragEnd: (sizes: [ number, number ]) => void;
 | 
			
		||||
    }) => {
 | 
			
		||||
        destroy();
 | 
			
		||||
    };
 | 
			
		||||
    var renderMathInElement: (element: HTMLElement, options: {
 | 
			
		||||
        trust: boolean;
 | 
			
		||||
    }) => void;
 | 
			
		||||
 | 
			
		||||
@ -70,8 +70,6 @@ async function register(app: express.Application) {
 | 
			
		||||
 | 
			
		||||
    app.use(`/${assetPath}/node_modules/jquery-hotkeys/`, persistentCacheStatic(path.join(srcRoot, "..", "node_modules/jquery-hotkeys/")));
 | 
			
		||||
 | 
			
		||||
    app.use(`/${assetPath}/node_modules/split.js/dist/`, persistentCacheStatic(path.join(srcRoot, "..", "node_modules/split.js/dist/")));
 | 
			
		||||
 | 
			
		||||
    app.use(`/${assetPath}/node_modules/panzoom/dist/`, persistentCacheStatic(path.join(srcRoot, "..", "node_modules/panzoom/dist/")));
 | 
			
		||||
 | 
			
		||||
    // i18n
 | 
			
		||||
 | 
			
		||||
@ -44,7 +44,6 @@
 | 
			
		||||
<script src="<%= assetPath %>/node_modules/jquery-hotkeys/jquery-hotkeys.js"></script>
 | 
			
		||||
 | 
			
		||||
<script src="<%= assetPath %>/node_modules/autocomplete.js/dist/autocomplete.jquery.min.js"></script>
 | 
			
		||||
<script src="<%= assetPath %>/node_modules/split.js/dist/split.min.js"></script>
 | 
			
		||||
 | 
			
		||||
<link href="<%= assetPath %>/stylesheets/ckeditor-theme.css" rel="stylesheet">
 | 
			
		||||
<link href="api/fonts" rel="stylesheet">
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user