Skip to content

Instantly share code, notes, and snippets.

@8bitorange
Created August 1, 2011 21:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save 8bitorange/1119051 to your computer and use it in GitHub Desktop.
Save 8bitorange/1119051 to your computer and use it in GitHub Desktop.
my hello world
/**
* Handling all dom and instantiation of all other js
*
*/
// Setup namespace
goog.provide('ee.ui');
// include dom
goog.require('goog.dom');
goog.require('goog.events');
goog.require('goog.style');
goog.require('goog.iter');
ee.ui.setup = function(){
ee.ui.items = goog.dom.getElementsByClass('content-holder');
goog.iter.forEach(ee.ui.items,function(e,u,t){
goog.style.setStyle(e,'display','none');
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment