mirror of
				https://github.com/usmannasir/cyberpanel.git
				synced 2025-10-31 10:26:01 +01:00 
			
		
		
		
	Initial commit for v2.4.3
This commit is contained in:
		
							
								
								
									
										26
									
								
								static/filemanager/js/ace/snippets/drools.js
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										26
									
								
								static/filemanager/js/ace/snippets/drools.js
									
									
									
									
									
										Executable file
									
								
							| @@ -0,0 +1,26 @@ | ||||
| ace.define("ace/snippets/drools",["require","exports","module"], function(require, exports, module) { | ||||
| "use strict"; | ||||
|  | ||||
| exports.snippetText = "\n\ | ||||
| snippet rule\n\ | ||||
| 	rule \"${1?:rule_name}\"\n\ | ||||
| 	when\n\ | ||||
| 		${2:// when...} \n\ | ||||
| 	then\n\ | ||||
| 		${3:// then...}\n\ | ||||
| 	end\n\ | ||||
| \n\ | ||||
| snippet query\n\ | ||||
| 	query ${1?:query_name}\n\ | ||||
| 		${2:// find} \n\ | ||||
| 	end\n\ | ||||
| 	\n\ | ||||
| snippet declare\n\ | ||||
| 	declare ${1?:type_name}\n\ | ||||
| 		${2:// attributes} \n\ | ||||
| 	end\n\ | ||||
| \n\ | ||||
| "; | ||||
| exports.scope = "drools"; | ||||
|  | ||||
| }); | ||||
		Reference in New Issue
	
	Block a user