[ Index ] |
PHP Cross Reference of Phabricator |
[Summary view] [Print] [Text view]
1 /** 2 * @provides javelin-behavior-phabricator-reveal-content 3 * @requires javelin-behavior 4 * javelin-stratcom 5 * javelin-dom 6 * @javelin 7 */ 8 9 JX.behavior('phabricator-reveal-content', function() { 10 JX.Stratcom.listen( 11 'click', 12 'reveal-content', 13 function(e) { 14 e.kill(); 15 var nodes = e.getNodeData('reveal-content'); 16 var ii; 17 for (ii = 0; ii < nodes.showIDs.length; ii++) { 18 JX.DOM.show(JX.$(nodes.showIDs[ii])); 19 } 20 for (ii = 0; ii < nodes.hideIDs.length; ii++) { 21 JX.DOM.hide(JX.$(nodes.hideIDs[ii])); 22 } 23 }); 24 });
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Sun Nov 30 09:20:46 2014 | Cross-referenced by PHPXref 0.7.1 |