mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 13:01:31 +08:00 
			
		
		
		
	load split.js from node_modules
This commit is contained in:
		
							parent
							
								
									f9bfc8ad86
								
							
						
					
					
						commit
						f026646bb5
					
				
							
								
								
									
										3
									
								
								libraries/split.min.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								libraries/split.min.js
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										11
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										11
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							| @ -72,6 +72,7 @@ | |||||||
|         "semver": "7.5.4", |         "semver": "7.5.4", | ||||||
|         "serve-favicon": "2.5.0", |         "serve-favicon": "2.5.0", | ||||||
|         "session-file-store": "1.5.0", |         "session-file-store": "1.5.0", | ||||||
|  |         "split.js": "^1.6.5", | ||||||
|         "stream-throttle": "0.1.3", |         "stream-throttle": "0.1.3", | ||||||
|         "striptags": "3.2.0", |         "striptags": "3.2.0", | ||||||
|         "tmp": "0.2.1", |         "tmp": "0.2.1", | ||||||
| @ -13426,6 +13427,11 @@ | |||||||
|       "integrity": "sha512-oie3/+gKf7QtpitB0LYLETe+k8SifzsX4KixvpOsbI6S0kRiRQ5MKOio8eMSAKQ17N06+wdEOXRiId+zOxo0hA==", |       "integrity": "sha512-oie3/+gKf7QtpitB0LYLETe+k8SifzsX4KixvpOsbI6S0kRiRQ5MKOio8eMSAKQ17N06+wdEOXRiId+zOxo0hA==", | ||||||
|       "dev": true |       "dev": true | ||||||
|     }, |     }, | ||||||
|  |     "node_modules/split.js": { | ||||||
|  |       "version": "1.6.5", | ||||||
|  |       "resolved": "https://registry.npmjs.org/split.js/-/split.js-1.6.5.tgz", | ||||||
|  |       "integrity": "sha512-mPTnGCiS/RiuTNsVhCm9De9cCAUsrNFFviRbADdKiiV+Kk8HKp/0fWu7Kr8pi3/yBmsqLFHuXGT9UUZ+CNLwFw==" | ||||||
|  |     }, | ||||||
|     "node_modules/sprintf-js": { |     "node_modules/sprintf-js": { | ||||||
|       "version": "1.1.2", |       "version": "1.1.2", | ||||||
|       "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.1.2.tgz", |       "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.1.2.tgz", | ||||||
| @ -25195,6 +25201,11 @@ | |||||||
|       "integrity": "sha512-oie3/+gKf7QtpitB0LYLETe+k8SifzsX4KixvpOsbI6S0kRiRQ5MKOio8eMSAKQ17N06+wdEOXRiId+zOxo0hA==", |       "integrity": "sha512-oie3/+gKf7QtpitB0LYLETe+k8SifzsX4KixvpOsbI6S0kRiRQ5MKOio8eMSAKQ17N06+wdEOXRiId+zOxo0hA==", | ||||||
|       "dev": true |       "dev": true | ||||||
|     }, |     }, | ||||||
|  |     "split.js": { | ||||||
|  |       "version": "1.6.5", | ||||||
|  |       "resolved": "https://registry.npmjs.org/split.js/-/split.js-1.6.5.tgz", | ||||||
|  |       "integrity": "sha512-mPTnGCiS/RiuTNsVhCm9De9cCAUsrNFFviRbADdKiiV+Kk8HKp/0fWu7Kr8pi3/yBmsqLFHuXGT9UUZ+CNLwFw==" | ||||||
|  |     }, | ||||||
|     "sprintf-js": { |     "sprintf-js": { | ||||||
|       "version": "1.1.2", |       "version": "1.1.2", | ||||||
|       "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.1.2.tgz", |       "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.1.2.tgz", | ||||||
|  | |||||||
| @ -98,6 +98,7 @@ | |||||||
|     "semver": "7.5.4", |     "semver": "7.5.4", | ||||||
|     "serve-favicon": "2.5.0", |     "serve-favicon": "2.5.0", | ||||||
|     "session-file-store": "1.5.0", |     "session-file-store": "1.5.0", | ||||||
|  |     "split.js": "^1.6.5", | ||||||
|     "stream-throttle": "0.1.3", |     "stream-throttle": "0.1.3", | ||||||
|     "striptags": "3.2.0", |     "striptags": "3.2.0", | ||||||
|     "tmp": "0.2.1", |     "tmp": "0.2.1", | ||||||
|  | |||||||
| @ -62,6 +62,8 @@ function register(app) { | |||||||
|     app.use(`/${assetPath}/node_modules/jquery-hotkeys/`, persistentCacheStatic(path.join(srcRoot, '..', 'node_modules/jquery-hotkeys/'))); |     app.use(`/${assetPath}/node_modules/jquery-hotkeys/`, persistentCacheStatic(path.join(srcRoot, '..', 'node_modules/jquery-hotkeys/'))); | ||||||
| 
 | 
 | ||||||
|     app.use(`/${assetPath}/node_modules/print-this/`, persistentCacheStatic(path.join(srcRoot, '..', 'node_modules/print-this/'))); |     app.use(`/${assetPath}/node_modules/print-this/`, persistentCacheStatic(path.join(srcRoot, '..', 'node_modules/print-this/'))); | ||||||
|  | 
 | ||||||
|  |     app.use(`/${assetPath}/node_modules/split.js/dist/`, persistentCacheStatic(path.join(srcRoot, '..', 'node_modules/split.js/dist/'))); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| module.exports = { | module.exports = { | ||||||
|  | |||||||
| @ -64,7 +64,7 @@ | |||||||
| 
 | 
 | ||||||
| <script src="<%= assetPath %>/node_modules/dayjs/dayjs.min.js"></script> | <script src="<%= assetPath %>/node_modules/dayjs/dayjs.min.js"></script> | ||||||
| 
 | 
 | ||||||
| <script src="<%= assetPath %>/libraries/split.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="<%= assetPath %>/stylesheets/ckeditor-theme.css" rel="stylesheet"> | ||||||
| <link href="api/fonts" rel="stylesheet"> | <link href="api/fonts" rel="stylesheet"> | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 zadam
						zadam