mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 02:55:58 +01:00 
			
		
		
		
	updated components to be a require.js module, not a global (:rage2:)
This commit is contained in:
		| @@ -1,13 +1,14 @@ | ||||
| 'use strict'; | ||||
|  | ||||
| /* globals config, app, ajaxify, components, define, socket, utils */ | ||||
| /* globals config, app, ajaxify, define, socket, utils */ | ||||
|  | ||||
| define('forum/topic/posts', [ | ||||
| 	'forum/pagination', | ||||
| 	'forum/infinitescroll', | ||||
| 	'forum/topic/postTools', | ||||
| 	'navigator' | ||||
| ], function(pagination, infinitescroll, postTools, navigator) { | ||||
| 	'navigator', | ||||
| 	'components' | ||||
| ], function(pagination, infinitescroll, postTools, navigator, components) { | ||||
|  | ||||
| 	var Posts = {}; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user