aboutsummaryrefslogtreecommitdiffstats
path: root/docs/src/dom.js
diff options
context:
space:
mode:
authorMisko Hevery2013-03-20 16:24:23 -0700
committerMisko Hevery2013-04-02 14:05:06 -0700
commit0b6f1ce5f89f47f9302ff1e8cd8f4b92f837c413 (patch)
tree8cbc0c86024dd4f97d0aa54e0c9b7df9b0d56b86 /docs/src/dom.js
parent4bfb66ce0be46d3a0e9da2f80f3e1d0c2b559828 (diff)
downloadangular.js-0b6f1ce5f89f47f9302ff1e8cd8f4b92f837c413.tar.bz2
feat(ngAnimate): add support for animation
Diffstat (limited to 'docs/src/dom.js')
-rw-r--r--docs/src/dom.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/src/dom.js b/docs/src/dom.js
index 2c276297..1bb9578e 100644
--- a/docs/src/dom.js
+++ b/docs/src/dom.js
@@ -89,7 +89,9 @@ DOM.prototype = {
replace(/-+/gm, '-').
replace(/-*$/gm, '');
anchor = {'id': id};
- className = {'class': id.toLowerCase().replace(/[._]/mg, '-')};
+ var classNameValue = id.toLowerCase().replace(/[._]/mg, '-');
+ if(classNameValue == 'hide') classNameValue = '';
+ className = {'class': classNameValue};
}
this.tag('h' + this.headingDepth, anchor, heading);
if (content instanceof Array) {