From 1777110958f76ee4be5760e36c96702223385918 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Tue, 15 Feb 2011 01:12:45 -0500 Subject: split up services into individual files - split up services into files under src/service - split up specs into files under test/service - rewrite all specs so that they don't depend on one global forEach - get rid of obsolete code and tests in ng:switch - rename mock $log spec from "$log" to "$log mock" --- src/widgets.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/widgets.js') 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){ */ +//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 + } }); -- cgit v1.2.3