Skip to content

Instantly share code, notes, and snippets.

@ragnard
Created September 26, 2012 10:56
Show Gist options
  • Save ragnard/3787321 to your computer and use it in GitHub Desktop.
Save ragnard/3787321 to your computer and use it in GitHub Desktop.
Gurka
<head>
<script src="[path to closure library root]/closure/goog/base.js"></script>
<script>
goog.require('goog.dom');
</script>
</head>
...
<script>
// since goog.dom has been required, we can use methods in that namespace
var blahonga = goog.dom.getElement('blahonga');
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment