aboutsummaryrefslogtreecommitdiffstats
path: root/docs/src
diff options
context:
space:
mode:
authorIgor Minar2011-08-14 03:24:09 -0700
committerIgor Minar2011-08-15 12:51:41 -0700
commit793ecb48176ad6d8866ce38f4242971c81ceda31 (patch)
tree0f4a6c975bcab004f7878a4765c56c87b3e34c02 /docs/src
parent1d45e65f4a026eb0461429f2557a5f0400b7f88e (diff)
downloadangular.js-793ecb48176ad6d8866ce38f4242971c81ceda31.tar.bz2
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.
Diffstat (limited to 'docs/src')
-rw-r--r--docs/src/templates/doc_widgets.css6
-rw-r--r--docs/src/templates/doc_widgets.js2
2 files changed, 0 insertions, 8 deletions
diff --git a/docs/src/templates/doc_widgets.css b/docs/src/templates/doc_widgets.css
index e308ed11..6b702644 100644
--- a/docs/src/templates/doc_widgets.css
+++ b/docs/src/templates/doc_widgets.css
@@ -1,9 +1,3 @@
-@namespace doc url("http://docs.angularjs.org/");
-
-doc\:example {
- display: none;
-}
-
ul.doc-example {
list-style-type: none;
position: relative;
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(/<script[^\>]*>([\s\S]*)<\/script>/) || [])[1] || '';
try {