Skip to content

Instantly share code, notes, and snippets.

@mde
Created August 13, 2013 17:09
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 mde/6223332 to your computer and use it in GitHub Desktop.
Save mde/6223332 to your computer and use it in GitHub Desktop.
Two overlapping experiments
<%
var msg = '';
if (testA) {
msg += '<div>group</div>';
}
if (testB || testA) {
msg += '<div>conversation</div>';
}
%>
<%= msg; %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment