mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-11-03 20:45:58 +01:00 
			
		
		
		
	Updated js code so vendors can be added to the modules folder, so
they can be required properly and we can finally get rid of that really annoying "mismatched anonymous" error in Require.js. First module to make the transition: Chart.js
This commit is contained in:
		@@ -92,6 +92,7 @@ function initializeNodeBB(callback) {
 | 
			
		||||
		function(next) {
 | 
			
		||||
			async.parallel([
 | 
			
		||||
				async.apply(meta.templates.compile),
 | 
			
		||||
				async.apply(meta.js.symlinkModules),
 | 
			
		||||
				async.apply(!skipJS ? meta.js.minify : meta.js.getFromFile, 'nodebb.min.js'),
 | 
			
		||||
				async.apply(!skipJS ? meta.js.minify : meta.js.getFromFile, 'acp.min.js'),
 | 
			
		||||
				async.apply(!skipLess ? meta.css.minify : meta.css.getFromFile),
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user