Created
September 26, 2012 10:56
-
-
Save ragnard/3787321 to your computer and use it in GitHub Desktop.
Gurka
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
<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