aboutsummaryrefslogtreecommitdiffstats
path: root/docs/docs-scenario.js
diff options
context:
space:
mode:
authorMisko Hevery2010-10-27 15:31:10 -0700
committerIgor Minar2010-11-03 09:47:22 -0700
commit659af29adbd041fbbbaf041ead53266210a61f4e (patch)
tree32a9ecff4482ae883321e2975fe74057795b21d1 /docs/docs-scenario.js
parent1fe7e3a1302e948a31ab80d02ede6975c3bddd58 (diff)
downloadangular.js-659af29adbd041fbbbaf041ead53266210a61f4e.tar.bz2
jsdoc parser + generator + viewer + scenario runner
- parse jsdocs from source code - generate prerendered (markdown + mustache) partials - generate json - generate scenario runner for examples in docs - basic angular doc viewer
Diffstat (limited to 'docs/docs-scenario.js')
-rw-r--r--docs/docs-scenario.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/docs-scenario.js b/docs/docs-scenario.js
new file mode 100644
index 00000000..f0c6edb9
--- /dev/null
+++ b/docs/docs-scenario.js
@@ -0,0 +1,9 @@
+{{#all}}
+describe('{{name}}', function(){
+ beforeEach(function(){
+ navigateTo('index.html#{{name}}');
+ });
+ // {{raw.file}}:{{raw.line}}
+{{{scenario}}}
+});
+{{/all}} \ No newline at end of file