aboutsummaryrefslogtreecommitdiffstats
path: root/src/widgets.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets.js')
-rw-r--r--src/widgets.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widgets.js b/src/widgets.js
index 6482f455..461684ac 100644
--- a/src/widgets.js
+++ b/src/widgets.js
@@ -743,6 +743,7 @@ angularWidget('ng:include', function(element){
</doc:scenario>
</doc:example>
*/
+//TODO(im): remove all the code related to using and inline equals
var ngSwitch = angularWidget('ng:switch', function (element){
var compiler = this,
watchExpr = element.attr("on"),
@@ -805,8 +806,7 @@ var ngSwitch = angularWidget('ng:switch', function (element){
}, {
equals: function(on, when) {
return ''+on == when;
- },
- route: switchRouteMatcher
+ }
});