diff options
| author | Igor Minar | 2011-08-14 03:24:09 -0700 | 
|---|---|---|
| committer | Igor Minar | 2011-08-19 00:59:44 -0700 | 
| commit | 4c8eaa1eb05ba98d30ff83f4420d6fcd69045d99 (patch) | |
| tree | dc2cf6febf4af2dc081e81355451fc728c792e69 /docs/src/templates | |
| parent | 4ba35eb97e8b7b9cf255e556fa0b86c892e76b1b (diff) | |
| download | angular.js-4c8eaa1eb05ba98d30ff83f4420d6fcd69045d99.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/templates')
| -rw-r--r-- | docs/src/templates/doc_widgets.css | 6 | ||||
| -rw-r--r-- | docs/src/templates/doc_widgets.js | 2 | 
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 { | 
