equal
deleted
inserted
replaced
210 _f(e); |
210 _f(e); |
211 } |
211 } |
212 } |
212 } |
213 } |
213 } |
214 |
214 |
|
215 var enano_hooks = {}; |
|
216 function setHook(hook_name) |
|
217 { |
|
218 if ( enano_hooks[hook_name] ) |
|
219 { |
|
220 return enano_hooks[hook_name]; |
|
221 } |
|
222 return 'void(0);'; |
|
223 } |
|
224 |
|
225 function attachHook(hook_name, code) |
|
226 { |
|
227 if ( !enano_hooks[hook_name] ) |
|
228 enano_hooks[hook_name] = ''; |
|
229 |
|
230 enano_hooks[hook_name] += code; |
|
231 } |
|
232 |
215 var loaded_components = {}; |
233 var loaded_components = {}; |
216 var _load_component_running = false; |
234 var _load_component_running = false; |
217 function load_component(file) |
235 function load_component(file) |
218 { |
236 { |
219 var multiple = false; |
237 var multiple = false; |