aboutsummaryrefslogtreecommitdiffstats
path: root/docs/src/templates/docs-scenario.html
diff options
context:
space:
mode:
authorPeter Bacon Darwin2014-02-12 22:47:42 +0000
committerPeter Bacon Darwin2014-02-16 19:03:41 +0000
commit389d4879da4aa620ee95d789b19ff9be44eb730a (patch)
tree93352ddc8738a975904a1774d51b93d585ca1075 /docs/src/templates/docs-scenario.html
parenta564160511bf1bbed5a4fe5d2981fae1bb664eca (diff)
downloadangular.js-389d4879da4aa620ee95d789b19ff9be44eb730a.tar.bz2
chore(doc-gen): new docs
chore(doc-gen): implement dgeni
Diffstat (limited to 'docs/src/templates/docs-scenario.html')
-rw-r--r--docs/src/templates/docs-scenario.html44
1 files changed, 0 insertions, 44 deletions
diff --git a/docs/src/templates/docs-scenario.html b/docs/src/templates/docs-scenario.html
deleted file mode 100644
index 2eca5f87..00000000
--- a/docs/src/templates/docs-scenario.html
+++ /dev/null
@@ -1,44 +0,0 @@
-<!DOCTYPE HTML>
-<html xmlns:ng="http://angularjs.org">
-<head>
- <title>AngularJS Docs E2E Test Runner</title>
- <script>
- var production = location.hostname === 'docs.angularjs.org',
- headEl = document.head,
- angularVersion = {
- current: '"NG_VERSION_FULL"', // rewrite during build
- cdn: '"NG_VERSION_CDN"'
- };
-
- addTag('script', {src: path('angular-scenario.js')}, function() {
- addTag('script', {src: 'docs-scenario.js'}, function() {
- angular.scenario.setUpAndRun();
- });
- });
-
- function addTag(name, attributes, callback) {
- var el = document.createElement(name),
- attrName;
-
- for (attrName in attributes) {
- el.setAttribute(attrName, attributes[attrName]);
- }
-
- if (callback) {
- el.onload = callback;
- }
-
- headEl.appendChild(el);
- }
-
-
- function path(name) {
- return production
- ? 'http://code.angularjs.org/' + angularVersion.cdn + '/' + name
- : '../' + name;
- }
- </script>
-</head>
-<body>
-</body>
-</html>