This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//#macro super merge_functions // uncomment this if you prefer the name 'super' | |
///@function merge_functions(func1, func2, <func3>) | |
///@param {function} func1 | |
///@param {function} *func2 | |
///@param {function} *func3 | |
function merge_functions() { | |
var funcs = array_create(argument_count, undefined) | |
for(var i = 0; i < argument_count; i++) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var p1 = { | |
x: 20, | |
y: 20 | |
}; | |
var p2 = { | |
x: 40, | |
y: 40 | |
}; |