Skip to content

Instantly share code, notes, and snippets.

@pope
Forked from 8bitorange/gist:1119051
Created August 1, 2011 21:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pope/1119056 to your computer and use it in GitHub Desktop.
Save pope/1119056 to your computer and use it in GitHub Desktop.
my hello world
/**
* 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