mirror of
				https://github.com/usmannasir/cyberpanel.git
				synced 2025-10-31 02:15:55 +01:00 
			
		
		
		
	Initial commit for v2.4.3
This commit is contained in:
		
							
								
								
									
										27
									
								
								static/filemanager/js/ace/snippets/haml.js
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										27
									
								
								static/filemanager/js/ace/snippets/haml.js
									
									
									
									
									
										Executable file
									
								
							| @@ -0,0 +1,27 @@ | ||||
| ace.define("ace/snippets/haml",["require","exports","module"], function(require, exports, module) { | ||||
| "use strict"; | ||||
|  | ||||
| exports.snippetText = "snippet t\n\ | ||||
| 	%table\n\ | ||||
| 		%tr\n\ | ||||
| 			%th\n\ | ||||
| 				${1:headers}\n\ | ||||
| 		%tr\n\ | ||||
| 			%td\n\ | ||||
| 				${2:headers}\n\ | ||||
| snippet ul\n\ | ||||
| 	%ul\n\ | ||||
| 		%li\n\ | ||||
| 			${1:item}\n\ | ||||
| 		%li\n\ | ||||
| snippet =rp\n\ | ||||
| 	= render :partial => '${1:partial}'\n\ | ||||
| snippet =rpl\n\ | ||||
| 	= render :partial => '${1:partial}', :locals => {}\n\ | ||||
| snippet =rpc\n\ | ||||
| 	= render :partial => '${1:partial}', :collection => @$1\n\ | ||||
| \n\ | ||||
| "; | ||||
| exports.scope = "haml"; | ||||
|  | ||||
| }); | ||||
		Reference in New Issue
	
	Block a user