MCPcopy
hub / github.com/playcanvas/engine / extend

Function extend

tests/input/simulate_event.js:52–56  ·  view source on GitHub ↗
(destination, source)

Source from the content-addressed store, hash-verified

50}
51
52function extend(destination, source) {
53 for (var property in source)
54 destination[property] = source[property];
55 return destination;
56}
57
58var eventMatchers = {
59 'HTMLEvents': /^(?:load|unload|abort|error|select|change|submit|reset|focus|blur|resize|scroll)$/,

Callers 1

simulateFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected