+ },
+ display : '',
+
+ toggle : function () {
+ display = display == 'none' ? '': 'none';
+ Array.prototype.slice.call(
+ document.getElementsByTagName('tr')
+ ).forEach(function(tr) {
+ tr.style.display = '';
+ if (tr.className.match(/notInherited/)) return;
+ if (!tr.className.match(/expandable/)) return;
+ tr.style.display = display;
+ });