fix($compile): don't use new with minErr

Someone wrote `throw new $compileMinErr(...)` when it should have been
`throw $compileMinErr(...)`. This caused a build warning.
This commit is contained in:
Ken Sheedlo 2013-07-26 15:53:45 -07:00
parent fbad068aeb
commit 11521a4cde
2 changed files with 5 additions and 1 deletions

View file

@ -0,0 +1,4 @@
@ngdoc error
@name $compile:selmulti
@fullName Binding to Multiple Attribute
@description

View file

@ -1220,7 +1220,7 @@ function $CompileProvider($provide) {
if (name === "multiple" && nodeName_(node) === "SELECT") {
throw new $compileMinErr("selmulti", "Binding to the multiple attribute is not supported. Element: {0}",
throw $compileMinErr("selmulti", "Binding to the multiple attribute is not supported. Element: {0}",
startingTag(node));
}