A Pen by Sonya Corcoran on CodePen.
Created
April 19, 2017 06:38
-
-
Save SoxFace/066db9b4869d70518c88e1911dd06b86 to your computer and use it in GitHub Desktop.
aWdOvv
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
<div id="mainText"> | |
<div id="envSettings"></div> | |
</div> |
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
var text = "this is some text"; | |
document.getElementById("mainText").innerHTML = text; | |
var currentUserId = ENV["current_user_id"]; | |
document.getElementById("envSettings").innerHTML = currentUserId; | |
console.log(ENV); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment