From 2c0753225a506185bf8b09b344e7615957009f02 Mon Sep 17 00:00:00 2001 From: Brian Ford Date: Thu, 11 Jul 2013 15:32:33 -0700 Subject: revert: feat(ngDocs): add links to source for API This reverts commit 61fb5863df4afe0fad688a44ff78b245b8439db2. --- docs/spec/sourceLinkSpec.js | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 docs/spec/sourceLinkSpec.js (limited to 'docs/spec/sourceLinkSpec.js') diff --git a/docs/spec/sourceLinkSpec.js b/docs/spec/sourceLinkSpec.js deleted file mode 100644 index 3dc73cc8..00000000 --- a/docs/spec/sourceLinkSpec.js +++ /dev/null @@ -1,29 +0,0 @@ -var ngdoc = require('../src/ngdoc.js'); -var gruntUtil = require('../../lib/grunt/utils.js'); - -describe('Docs Links', function() { - - describe('links', function() { - var doc; - - beforeEach(function() { - doc = new ngdoc.Doc("@ngdoc function\n@name ng.filter:a\n@function"); - doc.section = 'api'; - doc.file = 'test.js'; - doc.line = 42; - doc.parse(); - }); - - it('should have an "improve this doc" button', function() { - expect(doc.html()). - toContain(' Improve this doc'); - }); - - it('should have an "view source" button', function() { - expect(doc.html()). - toContain(' View source'); - }); - - }); - -}); -- cgit v1.2.3