Skip to content

Commit

Permalink
added javascript configuration file so you can overwrite index.html e…
Browse files Browse the repository at this point in the history
…asier
  • Loading branch information
Andrew Havens committed Jan 5, 2012
1 parent 18bbe3f commit 7cd20a4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion templates/web/index.html
Expand Up @@ -7,6 +7,7 @@
<script src='http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js'></script>
<script src='mad_chatter.js'></script>
<script src='mad_chatter_actions.js'></script>
<script src='mad_chatter_config.js'></script>

<!-- markItUp! -->
<script type="text/javascript" src="markitup/jquery.markitup.js"></script>
Expand All @@ -16,7 +17,7 @@

<script>
$(document).ready(function(){
MadChatter.init('ws://localhost:8100');
MadChatter.init(mad_chatter_config);
$('#keyboard textarea').markItUp(mySettings);
});
</script>
Expand Down
1 change: 1 addition & 0 deletions templates/web/mad_chatter_config.js
@@ -0,0 +1 @@
var mad_chatter_config = 'ws://localhost:8100';

0 comments on commit 7cd20a4

Please sign in to comment.