Created
July 15, 2013 19:34
-
-
Save sdesai/6002726 to your computer and use it in GitHub Desktop.
Revisions
-
sdesai renamed this gist
Jul 15, 2013 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
sdesai created this gist
Jul 15, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,23 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <script type='text/javascript' src='http://yui.yahooapis.com/3.10.3/build/yui/yui.js'></script> <title>Node</title> </head> <body> <div> <style scoped> #testme.hidden { display:none; } </style> <div id="testme" class="hidden">Stuff</div> <script> YUI({filter:"raw", combine:false}).use("node", function(Y) { alert(Y.one("#testme").getComputedStyle("display")); }); </script> </div> </body> </html>