From c2f2587a79aeb77aad66f081cf924a79348a698e Mon Sep 17 00:00:00 2001 From: Misko Hevery Date: Wed, 19 Jan 2011 15:42:11 -0800 Subject: fixed example rendering, add tests for it. --- docs/src/templates/doc_widgets.css | 2 +- docs/src/templates/doc_widgets.js | 16 ++++++++-------- docs/src/templates/docs-scenario.html | 2 +- docs/src/templates/docs.js | 8 ++++---- docs/src/templates/syntaxhighlighter/shBrushJScript.js | 6 +++--- docs/src/templates/syntaxhighlighter/shBrushXml.js | 10 +++++----- docs/src/templates/syntaxhighlighter/shCore.css | 2 +- docs/src/templates/syntaxhighlighter/shCore.js | 2 +- docs/src/templates/syntaxhighlighter/shThemeDefault.css | 2 +- 9 files changed, 25 insertions(+), 25 deletions(-) (limited to 'docs/src/templates') diff --git a/docs/src/templates/doc_widgets.css b/docs/src/templates/doc_widgets.css index 8361f105..9f007f0e 100644 --- a/docs/src/templates/doc_widgets.css +++ b/docs/src/templates/doc_widgets.css @@ -32,4 +32,4 @@ li.doc-example-live { div.syntaxhighlighter { padding-bottom: 1px !important; /* fix to remove unnecessary scrollbars http://is.gd/gSMgC */ -} \ No newline at end of file +} diff --git a/docs/src/templates/doc_widgets.js b/docs/src/templates/doc_widgets.js index 18aeeacb..2d1ab8c6 100644 --- a/docs/src/templates/doc_widgets.js +++ b/docs/src/templates/doc_widgets.js @@ -1,5 +1,5 @@ (function(){ - + var angularJsUrl; var scripts = document.getElementsByTagName("script"); var filename = /(.*\/)angular([^\/]*)/; @@ -10,7 +10,7 @@ } } - + var HTML_TEMPLATE = '\n' + '\n' + @@ -32,15 +32,15 @@ var tabs = angular.element( '
' + + '
' + scenario.text() + '