diff options
| author | Igor Minar | 2012-06-11 23:49:24 -0700 |
|---|---|---|
| committer | Igor Minar | 2012-06-12 00:10:18 -0700 |
| commit | f16150d5f1b20b3d633b4402095ea89baa4be042 (patch) | |
| tree | 9d5c570348264884174ecca52b958da7a821fcf8 /src/ngScenario/dsl.js | |
| parent | fc0b2b5715655a05cbb4c8e79969c95d7e7ce8b7 (diff) | |
| download | angular.js-f16150d5f1b20b3d633b4402095ea89baa4be042.tar.bz2 | |
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
Diffstat (limited to 'src/ngScenario/dsl.js')
| -rw-r--r-- | src/ngScenario/dsl.js | 8 |
1 files changed, 4 insertions, 4 deletions
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 = {}; |
