From 11521a4cde689c2bd6aaa227b1f45cb3fb53725b Mon Sep 17 00:00:00 2001 From: Ken Sheedlo Date: Fri, 26 Jul 2013 15:53:45 -0700 Subject: 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. --- src/ng/compile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/ng/compile.js b/src/ng/compile.js index 25f9a0a8..9e7f9553 100644 --- a/src/ng/compile.js +++ b/src/ng/compile.js @@ -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)); } -- cgit v1.2.3