aboutsummaryrefslogtreecommitdiffstats
path: root/docs/src/templates/doc_widgets.js
diff options
context:
space:
mode:
authorDi Peng2011-08-21 08:34:18 -0700
committerIgor Minar2011-08-21 09:40:53 -0700
commit15e610577900c247a7df8462aecae74e42d91be3 (patch)
treef5d6227aafbfcf86345c3fe8867e3b6132459ec1 /docs/src/templates/doc_widgets.js
parentee389180593ab21167a3d36b73c8e31315eac6bd (diff)
downloadangular.js-15e610577900c247a7df8462aecae74e42d91be3.tar.bz2
fix(docs): remove more unecessary use of hide() and show() method
- tutorial section of docs fails to render properly as doc:tutorial-instructions widget uses deprecated show and hide methods of jQlite.
Diffstat (limited to 'docs/src/templates/doc_widgets.js')
-rw-r--r--docs/src/templates/doc_widgets.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/docs/src/templates/doc_widgets.js b/docs/src/templates/doc_widgets.js
index a5579720..277f9a51 100644
--- a/docs/src/templates/doc_widgets.js
+++ b/docs/src/templates/doc_widgets.js
@@ -181,7 +181,6 @@
'</div>';
angular.widget('doc:tutorial-instructions', function(element) {
- element.hide();
this.descend(true);
var tabs = angular.element(HTML_TPL.replace('{show}', element.attr('show') || 'false')),
@@ -207,7 +206,6 @@
element.html('');
element.append(tabs);
- element.show();
});