MCPcopy Create free account
hub / github.com/curran/screencasts / mergeTemplateAttributes

Function mergeTemplateAttributes

bower_components/angular/angular.js:6790–6821  ·  view source on GitHub ↗

* When the element is replaced with HTML template then the new attributes * on the template need to be merged with the existing attributes in the DOM. * The desired effect is to have both of the attributes present. * * @param {object} dst destination attributes (original DOM)

(dst, src)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

applyDirectivesToNodeFunction · 0.70
compileTemplateUrlFunction · 0.70

Calls 2

forEachFunction · 0.70
safeAddClassFunction · 0.70

Tested by

no test coverage detected