MCPcopy Create free account
hub / github.com/bclinkinbeard/angular / assertNoDuplicate

Function assertNoDuplicate

test/fixtures/foo.js:6943–6948  ·  view source on GitHub ↗
(what, previousDirective, directive, element)

Source from the content-addressed store, hash-verified

6941
6942
6943 function assertNoDuplicate(what, previousDirective, directive, element) {
6944 if (previousDirective) {
6945 throw $compileMinErr('multidir', 'Multiple directives [{0}, {1}] asking for {2} on: {3}',
6946 previousDirective.name, directive.name, what, startingTag(element));
6947 }
6948 }
6949
6950
6951 function addTextInterpolateDirective(directives, text) {

Callers 1

applyDirectivesToNodeFunction · 0.85

Calls 1

startingTagFunction · 0.85

Tested by

no test coverage detected