diff --git a/templates/default/static/styles/jsdoc-default.css b/templates/default/static/styles/jsdoc-default.css
index 8b1736a1..ad82e701 100644
--- a/templates/default/static/styles/jsdoc-default.css
+++ b/templates/default/static/styles/jsdoc-default.css
@@ -45,8 +45,8 @@ section
margin-right: 240px;
}
-sup {
- color: #aaa;
+.variation {
+ display: none;
}
nav
diff --git a/templates/default/tmpl/container.tmpl b/templates/default/tmpl/container.tmpl
index 3884fdd7..e4f213d4 100644
--- a/templates/default/tmpl/container.tmpl
+++ b/templates/default/tmpl/container.tmpl
@@ -35,7 +35,7 @@
}
if (doc.variation) {
- print(''+doc.variation+'');
+ print(''+doc.variation+'');
}
?>
diff --git a/test/cases/variations2.js b/test/cases/variations2.js
new file mode 100644
index 00000000..2105c463
--- /dev/null
+++ b/test/cases/variations2.js
@@ -0,0 +1,36 @@
+/**
+* Describe the namespace.
+* @namespace dollar(1)
+*/
+
+/**
+* Describe the constructor.
+* @constructor dollar(2)
+* @param {object} [options]
+*/
+
+/**
+* Describe the global function.
+* @function dollar(3)
+* @param {string} selector - The selector string.
+*/
+dollar = function(a, b) {
+};
+
+/**
+* Describe the instance method.
+* @instance
+* @function empty
+* @memberof dollar(2)
+*/
+dollar.prototype.empty = function() {
+}
+
+/**
+* Describe the static method.
+* @function klass
+* @memberof dollar(1)
+* @param {string} name
+*/
+dollar.klass = function(name) {
+};