From 4c8eaa1eb05ba98d30ff83f4420d6fcd69045d99 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Sun, 14 Aug 2011 03:24:09 -0700 Subject: refactor(jqLite): remove jqLite show/hide support it turns out that even with our tricks, jqLite#show is not usable in practice and definitely not on par with jQuery. so rather than introducing half-baked apis which introduce issues, I'm removing them. I also removed show/hide uses from docs, since they are not needed. Breaks jqLite.hide/jqLite.show which are no longer available. --- docs/src/templates/doc_widgets.js | 2 -- 1 file changed, 2 deletions(-) (limited to 'docs/src/templates/doc_widgets.js') diff --git a/docs/src/templates/doc_widgets.js b/docs/src/templates/doc_widgets.js index 1fce70a2..0be15101 100644 --- a/docs/src/templates/doc_widgets.js +++ b/docs/src/templates/doc_widgets.js @@ -23,7 +23,6 @@ angular.widget('doc:example', function(element){ this.descend(true); //compile the example code - element.hide(); //jQuery find() methods in this widget contain primitive selectors on purpose so that we can use //jqlite instead. jqlite's find() method currently supports onlt getElementsByTagName! @@ -53,7 +52,6 @@ element.html(''); element.append(tabs); - element.show(); var script = (exampleSrc.match(/]*>([\s\S]*)<\/script>/) || [])[1] || ''; try { -- cgit v1.2.3