mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-16 10:43:10 +00:00
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.
This commit is contained in:
parent
57030bb6b4
commit
90ca6f983e
1 changed files with 0 additions and 2 deletions
|
|
@ -181,7 +181,6 @@
|
||||||
'</div>';
|
'</div>';
|
||||||
|
|
||||||
angular.widget('doc:tutorial-instructions', function(element) {
|
angular.widget('doc:tutorial-instructions', function(element) {
|
||||||
element.hide();
|
|
||||||
this.descend(true);
|
this.descend(true);
|
||||||
|
|
||||||
var tabs = angular.element(HTML_TPL.replace('{show}', element.attr('show') || 'false')),
|
var tabs = angular.element(HTML_TPL.replace('{show}', element.attr('show') || 'false')),
|
||||||
|
|
@ -207,7 +206,6 @@
|
||||||
|
|
||||||
element.html('');
|
element.html('');
|
||||||
element.append(tabs);
|
element.append(tabs);
|
||||||
element.show();
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue