()
| 12833 | * @return {Object} a new object with the data of the others. |
| 12834 | */ |
| 12835 | var extend = function() { |
| 12836 | var result = {}, i, attr; |
| 12837 | for (i = 0; i < arguments.length; i++) { // arguments is not enumerable in some browsers |
| 12838 | for (attr in arguments[i]) { |
| 12839 | if (arguments[i].hasOwnProperty(attr) && typeof result[attr] === "undefined") { |
| 12840 | result[attr] = arguments[i][attr]; |
| 12841 | } |
| 12842 | } |
| 12843 | } |
| 12844 | return result; |
| 12845 | }; |
| 12846 | |
| 12847 | /** |
| 12848 | * Transforms the (incomplete) options from the user into the complete |
no outgoing calls
no test coverage detected