Permalink
Browse files

Adding MPL 2.0 License.

  • Loading branch information...
simonwex committed Jan 26, 2012
1 parent 71b6c94 commit 58d89a3c43183d912cd3079fb9428fd6fc3db8a7
View

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -24,3 +24,10 @@ Data Keys
---------
global:last_bundle_id - Used to keep track of total docs in the system in order to get the next short url
+
+
+### License
+
+This Source Code Form is subject to the terms of the Mozilla Public
+License, v. 2.0. If a copy of the MPL was not distributed with this file,
+You can obtain one at [http://mozilla.org/MPL/2.0/](http://mozilla.org/MPL/2.0/).
View
4 app.js
@@ -1,5 +1,9 @@
#!/usr/local/bin/node
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this file,
+ * You can obtain one at http://mozilla.org/MPL/2.0/. */
+
// Module dependencies.
var express = require('express');
var whiskers = require('whiskers');
@@ -1,3 +1,7 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this file,
+ * You can obtain one at http://mozilla.org/MPL/2.0/. */
+
var redis = require('redis').createClient();
var etherpad = require('etherpad-lite-client').connect({
apikey: 'jZZMcZVwJKJS5jRJALhqATeOAgY2SV0a',
View
@@ -1,3 +1,6 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this file,
+ * You can obtain one at http://mozilla.org/MPL/2.0/. */
/*
* GET home page.
@@ -1,3 +1,7 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this file,
+ * You can obtain one at http://mozilla.org/MPL/2.0/. */
+
$(function(){
var resizeHandler = function(){
$("#etherpad").height($(window).height() - 180);

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -1,3 +1,7 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this file,
+ * You can obtain one at http://mozilla.org/MPL/2.0/. */
+
#towtruck_top_bar_wrapper{
width: 100%;
position: fixed;
@@ -1,16 +1,20 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this file,
+ * You can obtain one at http://mozilla.org/MPL/2.0/. */
+
body.collaborate {
padding-top: 60px;
}
-body.collaborate chat {
+body.collaborate #chat {
height: 100%;
position: absolute;
}
-body.collaborate chat form {
+body.collaborate #chat form {
position: absolute;
bottom: 0;
}
-body.collaborate chat dl {
+body.collaborate #chat dl {
overflow-y: auto;
height: 70%;
}
@@ -1,4 +1,7 @@
<!DOCTYPE html>
+<!-- This Source Code Form is subject to the terms of the Mozilla Public
+ - License, v. 2.0. If a copy of the MPL was not distributed with this file,
+ - You can obtain one at http://mozilla.org/MPL/2.0/. -->
<html lang="en">
<head>
<meta charset="utf-8">
@@ -64,19 +67,19 @@ <h3>Get Help by Sharing With a Friend</h3>
<div class="fluid-container sidebar-left">
<div class="fluid-sidebar">
- <chat>
- <h3 class="nav-label">Chat</h5>
- <dialog>
+ <div id="chat">
+ <h3 class="nav-label">Chat</h3>
+ <dl>
<dt>@Simon</dt>
<dd>Hey, what seems to be the problem?</dd>
<dt>@Frank</dt>
<dd>I don't know, but I'm getting an error.</dd>
- </dialog>
+ </dl>
<form>
<input type="text" id="chat_input" class="span3" placeholder="Type something…" />
<button type="submit" class="btn pull-right primary">Go</button>
</form>
- </chat>
+ </div>
</div>
<div class="fluid-content">
<ul id="file_tab_nav" class="nav tabs">
@@ -86,6 +89,7 @@ <h3 class="nav-label">Chat</h5>
{/for}
</ul>
+ <!-- frameBorder="0" is not valid HTML5, but it saves us from hacking etherpad -->
<iframe
id="etherpad"
frameBorder="0"
@@ -103,6 +107,7 @@ <h3 class="nav-label">Chat</h5>
<a href="http://mozillalabs.com/">
<img src="https://mozillalabs.com/wp-content/themes/labs2.0/img/mozilla-logo.png" width="41" height="31" alt="Mozilla Logo">
<strong>Copyright © 2005-2010 Mozilla.</strong>
+ </a>
</div>
</div>
</footer>
@@ -1 +1,4 @@
+<!-- This Source Code Form is subject to the terms of the Mozilla Public
+ - License, v. 2.0. If a copy of the MPL was not distributed with this file,
+ - You can obtain one at http://mozilla.org/MPL/2.0/. -->
<a class="TowTruck" href="{url}">{url}</a>
View
@@ -1,4 +1,7 @@
<!DOCTYPE html>
+<!-- This Source Code Form is subject to the terms of the Mozilla Public
+ - License, v. 2.0. If a copy of the MPL was not distributed with this file,
+ - You can obtain one at http://mozilla.org/MPL/2.0/. -->
<html lang="en">
<head>
<meta charset="utf-8">
@@ -1,4 +1,7 @@
<!DOCTYPE html>
+<!-- This Source Code Form is subject to the terms of the Mozilla Public
+ - License, v. 2.0. If a copy of the MPL was not distributed with this file,
+ - You can obtain one at http://mozilla.org/MPL/2.0/. -->
<html lang="en">
<head>
<meta charset="utf-8">
View
@@ -1,3 +1,7 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this file,
+ * You can obtain one at http://mozilla.org/MPL/2.0/. */
+
{
"name": "TowTruck"
, "version": "0.0.1"

0 comments on commit 58d89a3

Please sign in to comment.