Files
rappaurio-sae501_502/app/node_modules/cejs/extension/parent2.js
2023-09-25 13:27:24 +02:00

27 lines
1.3 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

'use strict';
typeof CeL === 'function' && CeL.run({
// name/id.
name : 'extension.parent2',
// dependency.
require : 'extension.parent1.parent1_function|extension.loop2.|extension.loop1.loop1_function',
// source code.
code : function() {
var library_namespace = this.base,
// requiring
parent1_function = this.r('parent1_function');
function parent2_function(caller) {
parent1_function(caller || 'parent2_function');
library_namespace.loop1_function(caller || 'parent2_function');
};
// for inherit.
function grant(subclass) {
}
return {
parent2_function : parent2_function
};
}
});