1234567891011121314 |
- <?php
- function hackpoint_yaml_manage_types(&$types){
- $types = array_merge($types,glob(__DIR__.SLASH.'types'.SLASH.'*.class.php'));
- }
- function hackpoint_yaml_mode(&$modes){
- $modes[] = "/../yaml/js/yaml.js";
- }
- Plugin::addHook("hackpoint_resource_type", "hackpoint_yaml_manage_types");
- Plugin::addHook("hackpoint_codemirror_modes", "hackpoint_yaml_mode");
- ?>
|