-
-
Save pope/1119056 to your computer and use it in GitHub Desktop.
my hello world
This file contains 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 characters
/** | |
* Handling all dom and instantiation of all other js | |
* | |
*/ | |
// include dom | |
goog.require('goog.dom'); | |
goog.require('goog.style'); | |
goog.require('goog.iter'); | |
var items = goog.dom.getElementsByClass('content-holder'); | |
goog.iter.forEach(items, function(e) { | |
goog.style.setStyle(e, 'display', 'none'); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment