From f16150d5f1b20b3d633b4402095ea89baa4be042 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Mon, 11 Jun 2012 23:49:24 -0700 Subject: docs(*): simplify doc urls we now have two types of namespaces: - true namespace: angular.* - used for all global apis - virtual namespace: ng.*, ngMock.*, ... - used for all DI modules the virual namespaces have services under the second namespace level (e.g. ng.) and filters and directives prefixed with filter: and directive: respectively (e.g. ng.filter:orderBy, ng.directive:ngRepeat) this simplifies urls and makes them a lot shorter while still avoiding name collisions --- src/ngScenario/dsl.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/ngScenario') diff --git a/src/ngScenario/dsl.js b/src/ngScenario/dsl.js index d5fc1438..7939735d 100644 --- a/src/ngScenario/dsl.js +++ b/src/ngScenario/dsl.js @@ -38,10 +38,10 @@ angular.scenario.dsl('sleep', function() { * browser().window.path() window.location.pathname * browser().window.search() window.location.search * browser().window.hash() window.location.hash without # prefix - * browser().location().url() see angular.module.ng.$location#url - * browser().location().path() see angular.module.ng.$location#path - * browser().location().search() see angular.module.ng.$location#search - * browser().location().hash() see angular.module.ng.$location#hash + * browser().location().url() see ng.$location#url + * browser().location().path() see ng.$location#path + * browser().location().search() see ng.$location#search + * browser().location().hash() see ng.$location#hash */ angular.scenario.dsl('browser', function() { var chain = {}; -- cgit v1.2.3