MCPcopy Create free account
hub / github.com/apache/cloudstack / assertNoDuplicate

Function assertNoDuplicate

tools/ngui/static/js/lib/angular.js:4575–4580  ·  view source on GitHub ↗
(what, previousDirective, directive, element)

Source from the content-addressed store, hash-verified

4573
4574
4575 function assertNoDuplicate(what, previousDirective, directive, element) {
4576 if (previousDirective) {
4577 throw Error('Multiple directives [' + previousDirective.name + ', ' +
4578 directive.name + '] asking for ' + what + ' on: ' + startingTag(element));
4579 }
4580 }
4581
4582
4583 function addTextInterpolateDirective(directives, text) {

Callers 1

applyDirectivesToNodeFunction · 0.85

Calls 2

startingTagFunction · 0.85
ErrorFunction · 0.50

Tested by

no test coverage detected