Skip to content

Commit

Permalink
Remove bcsocket from examples while we are at it
Browse files Browse the repository at this point in the history
  • Loading branch information
nickbrowne committed Oct 18, 2024
1 parent d0be41c commit 32de705
Show file tree
Hide file tree
Showing 13 changed files with 0 additions and 15 deletions.
1 change: 0 additions & 1 deletion bin/exampleserver
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ app.use(express.static(__dirname + '/../examples'));

var options = {
db: {type: 'none'},
browserChannel: {cors: '*'},
websocket: {
prefix: '/websocket',
trackStats: function(stats) {
Expand Down
3 changes: 0 additions & 3 deletions bin/options.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@ module.exports = {
// 'transports': ['xhr-polling', 'flashsocket']
},

// Browserchannel server options. Set browserChannel:null to disable browserchannel.
browserChannel: {},

// Websocket server options. Set websocket:null to disable websocket support.
websocket: {
headers: { "Access-Control-Allow-Origin": "*" },
Expand Down
1 change: 0 additions & 1 deletion examples/cm/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
<div id="editor"></div>
<script src="/lib/cm/lib/codemirror.js"></script>
<script src="/lib/cm/mode/coffeescript/coffeescript.js"></script>
<script src="/channel/bcsocket.js"></script>
<script src="/share/share.uncompressed.js"></script>
<script src="/share/cm.js"></script>
<script>
Expand Down
1 change: 0 additions & 1 deletion examples/code.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
<div id="editor"></div>
<script src="/lib/cm/lib/codemirror.js"></script>
<script src="/lib/cm/mode/coffeescript/coffeescript.js"></script>
<script src="/channel/bcsocket.js"></script>
<script src="/share/share.uncompressed.js"></script>
<script src="/share/cm.js"></script>
<script>
Expand Down
1 change: 0 additions & 1 deletion examples/hello-readonly.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
<div id='text' class='content'></div>
</div>

<script src="/channel/bcsocket.js"></script>
<script src="/share/share.uncompressed.js"></script>

<script>
Expand Down
1 change: 0 additions & 1 deletion examples/hello-tp2.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@


<script src="/lib/cm/lib/codemirror.js"></script>
<script src="/channel/bcsocket.js"></script>
<script src="/share/share.uncompressed.js"></script>
<script src="/share/text-tp2.uncompressed.js"></script>
<script src="/share/cm.js"></script>
Expand Down
1 change: 0 additions & 1 deletion examples/hex.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@
}
</style>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
<script src="/channel/bcsocket.js"></script>
<script src="/share/share.uncompressed.js"></script>
<script src="/share/json.js"></script>
</head>
Expand Down
1 change: 0 additions & 1 deletion examples/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,6 @@ <h3>Code</h3>

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.17/jquery-ui.min.js"></script>
<script src="/channel/bcsocket.js"></script>
<script src="/share/share.uncompressed.js"></script>
<script src="/share/textarea.js"></script>
<script src="/lib/prettify.js"></script>
Expand Down
1 change: 0 additions & 1 deletion examples/peep-peep/peep-peep.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
<title>Peep Peep</title>
<link href="css/peep-peep.css" media="screen" rel="stylesheet" type="text/css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
<script src="/channel/bcsocket.js"></script>
<script src="/share/share.uncompressed.js"></script>
<script src="/share/json.js"></script>
</head>
Expand Down
1 change: 0 additions & 1 deletion examples/readonly/html.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
<div id="container">
<div id='text' class='content'></div>
</div>
<script src="/channel/bcsocket.js"></script>
<script src="/share/share.uncompressed.js" type="text/javascript"></script>
<script type="text/javascript">

Expand Down
1 change: 0 additions & 1 deletion examples/readonly/markdown.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
<div id="container">
<div id='text' class='content'></div>
</div>
<script src="/channel/bcsocket.js"></script>
<script src="../lib/markdown/showdown.js" type="text/javascript"></script>
<script src="/share/share.uncompressed.js" type="text/javascript"></script>
<script type="text/javascript">
Expand Down
1 change: 0 additions & 1 deletion examples/shout.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
<ul id='shouts' class='content'></div>
</div>

<script src="/channel/bcsocket.js"></script>
<script src="/share/share.uncompressed.js"></script>

<script>
Expand Down
1 change: 0 additions & 1 deletion examples/textarea.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
</div>
<textarea id="editor" disabled>Loading...</textarea>

<script src="/channel/bcsocket.js"></script>
<script src="/share/share.uncompressed.js"></script>
<script src="/share/textarea.js"></script>
<script>
Expand Down

0 comments on commit 32de705

Please sign in to comment.