[Pkg-javascript-commits] [sockjs-client] 388/434: Add license blocks to every file

Tonnerre Lombard tonnerre-guest at moszumanska.debian.org
Wed Jan 8 00:47:27 UTC 2014


This is an automated email from the git hooks/post-receive script.

tonnerre-guest pushed a commit to branch master
in repository sockjs-client.

commit 939a0ef333e06b74b0cb4f11344c10546219b87d
Author: Marek Majkowski <majek04 at gmail.com>
Date:   Wed Apr 18 11:02:33 2012 +0100

    Add license blocks to every file
---
 LICENSE-MIT-SockJS                | 2 +-
 bin/render.coffee                 | 7 +++++++
 lib/dom.js                        | 8 ++++++++
 lib/dom2.js                       | 8 ++++++++
 lib/eventemitter.js               | 8 ++++++++
 lib/info.js                       | 8 ++++++++
 lib/reventtarget.js               | 8 ++++++++
 lib/simpleevent.js                | 8 ++++++++
 lib/sockjs.js                     | 8 ++++++++
 lib/test-hooks.js                 | 8 ++++++++
 lib/trans-iframe-eventsource.js   | 8 ++++++++
 lib/trans-iframe-htmlfile.js      | 8 ++++++++
 lib/trans-iframe-within.js        | 8 ++++++++
 lib/trans-iframe-xhr-polling.js   | 8 ++++++++
 lib/trans-iframe.js               | 8 ++++++++
 lib/trans-jsonp-polling.js        | 8 ++++++++
 lib/trans-jsonp-receiver.js       | 8 ++++++++
 lib/trans-polling.js              | 7 +++++++
 lib/trans-receiver-eventsource.js | 7 +++++++
 lib/trans-receiver-htmlfile.js    | 8 ++++++++
 lib/trans-receiver-xhr.js         | 7 +++++++
 lib/trans-sender.js               | 8 ++++++++
 lib/trans-websocket.js            | 8 ++++++++
 lib/trans-xhr.js                  | 8 ++++++++
 lib/utils.js                      | 8 ++++++++
 25 files changed, 189 insertions(+), 1 deletion(-)

diff --git a/LICENSE-MIT-SockJS b/LICENSE-MIT-SockJS
index a897167..a4cf63e 100644
--- a/LICENSE-MIT-SockJS
+++ b/LICENSE-MIT-SockJS
@@ -1,4 +1,4 @@
-Copyright (C) 2011 VMware, Inc.
+Copyright (c) 2011-2012 VMware, Inc.
 
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to deal
diff --git a/bin/render.coffee b/bin/render.coffee
index 32d0311..b33bf39 100644
--- a/bin/render.coffee
+++ b/bin/render.coffee
@@ -1,4 +1,11 @@
 #!/usr/bin/env coffee
+#
+# ***** BEGIN LICENSE BLOCK *****
+# Copyright (c) 2011-2012 VMware, Inc.
+#
+# For the license see COPYING.
+# ***** END LICENSE BLOCK *****
+
 
 fs = require('fs')
 uglify = require('uglify-js')
diff --git a/lib/dom.js b/lib/dom.js
index 0863f21..01ff69e 100644
--- a/lib/dom.js
+++ b/lib/dom.js
@@ -1,3 +1,11 @@
+/*
+ * ***** BEGIN LICENSE BLOCK *****
+ * Copyright (c) 2011-2012 VMware, Inc.
+ *
+ * For the license see COPYING.
+ * ***** END LICENSE BLOCK *****
+ */
+
 // May be used by htmlfile jsonp and transports.
 var MPrefix = '_sockjs_global';
 utils.createHook = function() {
diff --git a/lib/dom2.js b/lib/dom2.js
index 1f9052f..c4262b1 100644
--- a/lib/dom2.js
+++ b/lib/dom2.js
@@ -1,3 +1,11 @@
+/*
+ * ***** BEGIN LICENSE BLOCK *****
+ * Copyright (c) 2011-2012 VMware, Inc.
+ *
+ * For the license see COPYING.
+ * ***** END LICENSE BLOCK *****
+ */
+
 var AbstractXHRObject = function(){};
 AbstractXHRObject.prototype = new EventEmitter(['chunk', 'finish']);
 
diff --git a/lib/eventemitter.js b/lib/eventemitter.js
index d7e492f..ddcce8c 100644
--- a/lib/eventemitter.js
+++ b/lib/eventemitter.js
@@ -1,3 +1,11 @@
+/*
+ * ***** BEGIN LICENSE BLOCK *****
+ * Copyright (c) 2011-2012 VMware, Inc.
+ *
+ * For the license see COPYING.
+ * ***** END LICENSE BLOCK *****
+ */
+
 var EventEmitter = function(events) {
     this.events = events || [];
 };
diff --git a/lib/info.js b/lib/info.js
index 92aa2c8..2177f4a 100644
--- a/lib/info.js
+++ b/lib/info.js
@@ -1,3 +1,11 @@
+/*
+ * ***** BEGIN LICENSE BLOCK *****
+ * Copyright (c) 2011-2012 VMware, Inc.
+ *
+ * For the license see COPYING.
+ * ***** END LICENSE BLOCK *****
+ */
+
 var InfoReceiver = function(base_url, AjaxObject) {
     var that = this;
     utils.delay(function(){that.doXhr(base_url, AjaxObject);});
diff --git a/lib/reventtarget.js b/lib/reventtarget.js
index 0b5eaeb..48a798d 100644
--- a/lib/reventtarget.js
+++ b/lib/reventtarget.js
@@ -1,3 +1,11 @@
+/*
+ * ***** BEGIN LICENSE BLOCK *****
+ * Copyright (c) 2011-2012 VMware, Inc.
+ *
+ * For the license see COPYING.
+ * ***** END LICENSE BLOCK *****
+ */
+
 /* Simplified implementation of DOM2 EventTarget.
  *   http://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-EventTarget
  */
diff --git a/lib/simpleevent.js b/lib/simpleevent.js
index c57842d..47b5938 100644
--- a/lib/simpleevent.js
+++ b/lib/simpleevent.js
@@ -1,3 +1,11 @@
+/*
+ * ***** BEGIN LICENSE BLOCK *****
+ * Copyright (c) 2011-2012 VMware, Inc.
+ *
+ * For the license see COPYING.
+ * ***** END LICENSE BLOCK *****
+ */
+
 var SimpleEvent = function(type, obj) {
     this.type = type;
     if (typeof obj !== 'undefined') {
diff --git a/lib/sockjs.js b/lib/sockjs.js
index 887479f..1c68120 100644
--- a/lib/sockjs.js
+++ b/lib/sockjs.js
@@ -1,3 +1,11 @@
+/*
+ * ***** BEGIN LICENSE BLOCK *****
+ * Copyright (c) 2011-2012 VMware, Inc.
+ *
+ * For the license see COPYING.
+ * ***** END LICENSE BLOCK *****
+ */
+
 var SockJS = function(url, dep_protocols_whitelist, options) {
     var that = this, protocols_whitelist;
     that._options = {devel: false, debug: false, protocols_whitelist: [],
diff --git a/lib/test-hooks.js b/lib/test-hooks.js
index 5c7f6dd..706e01b 100644
--- a/lib/test-hooks.js
+++ b/lib/test-hooks.js
@@ -1,3 +1,11 @@
+/*
+ * ***** BEGIN LICENSE BLOCK *****
+ * Copyright (c) 2011-2012 VMware, Inc.
+ *
+ * For the license see COPYING.
+ * ***** END LICENSE BLOCK *****
+ */
+
 // For testing
 SockJS.getUtils = function(){
     return utils;
diff --git a/lib/trans-iframe-eventsource.js b/lib/trans-iframe-eventsource.js
index f326710..3eeb9dd 100644
--- a/lib/trans-iframe-eventsource.js
+++ b/lib/trans-iframe-eventsource.js
@@ -1,3 +1,11 @@
+/*
+ * ***** BEGIN LICENSE BLOCK *****
+ * Copyright (c) 2011-2012 VMware, Inc.
+ *
+ * For the license see COPYING.
+ * ***** END LICENSE BLOCK *****
+ */
+
 var EventSourceIframeTransport = SockJS['iframe-eventsource'] = function () {
     var that = this;
     that.protocol = 'w-iframe-eventsource';
diff --git a/lib/trans-iframe-htmlfile.js b/lib/trans-iframe-htmlfile.js
index 1169901..3b1ee25 100644
--- a/lib/trans-iframe-htmlfile.js
+++ b/lib/trans-iframe-htmlfile.js
@@ -1,3 +1,11 @@
+/*
+ * ***** BEGIN LICENSE BLOCK *****
+ * Copyright (c) 2011-2012 VMware, Inc.
+ *
+ * For the license see COPYING.
+ * ***** END LICENSE BLOCK *****
+ */
+
 // This transport generally works in any browser, but will cause a
 // spinning cursor to appear in any browser other than IE.
 // We may test this transport in all browsers - why not, but in
diff --git a/lib/trans-iframe-within.js b/lib/trans-iframe-within.js
index e562841..9a642cf 100644
--- a/lib/trans-iframe-within.js
+++ b/lib/trans-iframe-within.js
@@ -1,3 +1,11 @@
+/*
+ * ***** BEGIN LICENSE BLOCK *****
+ * Copyright (c) 2011-2012 VMware, Inc.
+ *
+ * For the license see COPYING.
+ * ***** END LICENSE BLOCK *****
+ */
+
 var curr_window_id;
 
 var postMessage = function (type, data) {
diff --git a/lib/trans-iframe-xhr-polling.js b/lib/trans-iframe-xhr-polling.js
index f82a46e..eadace1 100644
--- a/lib/trans-iframe-xhr-polling.js
+++ b/lib/trans-iframe-xhr-polling.js
@@ -1,3 +1,11 @@
+/*
+ * ***** BEGIN LICENSE BLOCK *****
+ * Copyright (c) 2011-2012 VMware, Inc.
+ *
+ * For the license see COPYING.
+ * ***** END LICENSE BLOCK *****
+ */
+
 var XhrPollingIframeTransport = SockJS['iframe-xhr-polling'] = function () {
     var that = this;
     that.protocol = 'w-iframe-xhr-polling';
diff --git a/lib/trans-iframe.js b/lib/trans-iframe.js
index cf4d5e0..c4eb2c3 100644
--- a/lib/trans-iframe.js
+++ b/lib/trans-iframe.js
@@ -1,3 +1,11 @@
+/*
+ * ***** BEGIN LICENSE BLOCK *****
+ * Copyright (c) 2011-2012 VMware, Inc.
+ *
+ * For the license see COPYING.
+ * ***** END LICENSE BLOCK *****
+ */
+
 // Few cool transports do work only for same-origin. In order to make
 // them working cross-domain we shall use iframe, served form the
 // remote domain. New browsers, have capabilities to communicate with
diff --git a/lib/trans-jsonp-polling.js b/lib/trans-jsonp-polling.js
index 89635cc..eb80992 100644
--- a/lib/trans-jsonp-polling.js
+++ b/lib/trans-jsonp-polling.js
@@ -1,3 +1,11 @@
+/*
+ * ***** BEGIN LICENSE BLOCK *****
+ * Copyright (c) 2011-2012 VMware, Inc.
+ *
+ * For the license see COPYING.
+ * ***** END LICENSE BLOCK *****
+ */
+
 // The simplest and most robust transport, using the well-know cross
 // domain hack - JSONP. This transport is quite inefficient - one
 // mssage could use up to one http request. But at least it works almost
diff --git a/lib/trans-jsonp-receiver.js b/lib/trans-jsonp-receiver.js
index c5c9ced..1fd4ff7 100644
--- a/lib/trans-jsonp-receiver.js
+++ b/lib/trans-jsonp-receiver.js
@@ -1,3 +1,11 @@
+/*
+ * ***** BEGIN LICENSE BLOCK *****
+ * Copyright (c) 2011-2012 VMware, Inc.
+ *
+ * For the license see COPYING.
+ * ***** END LICENSE BLOCK *****
+ */
+
 // Parts derived from Socket.io:
 //    https://github.com/LearnBoost/socket.io/blob/0.6.17/lib/socket.io/transports/jsonp-polling.js
 // and jQuery-JSONP:
diff --git a/lib/trans-polling.js b/lib/trans-polling.js
index 2236532..24cb95f 100644
--- a/lib/trans-polling.js
+++ b/lib/trans-polling.js
@@ -1,3 +1,10 @@
+/*
+ * ***** BEGIN LICENSE BLOCK *****
+ * Copyright (c) 2011-2012 VMware, Inc.
+ *
+ * For the license see COPYING.
+ * ***** END LICENSE BLOCK *****
+ */
 
 var Polling = function(ri, Receiver, recv_url, AjaxObject) {
     var that = this;
diff --git a/lib/trans-receiver-eventsource.js b/lib/trans-receiver-eventsource.js
index ad60da7..9edbdd2 100644
--- a/lib/trans-receiver-eventsource.js
+++ b/lib/trans-receiver-eventsource.js
@@ -1,3 +1,10 @@
+/*
+ * ***** BEGIN LICENSE BLOCK *****
+ * Copyright (c) 2011-2012 VMware, Inc.
+ *
+ * For the license see COPYING.
+ * ***** END LICENSE BLOCK *****
+ */
 
 var EventSourceReceiver = function(url) {
     var that = this;
diff --git a/lib/trans-receiver-htmlfile.js b/lib/trans-receiver-htmlfile.js
index f46f9a4..1de2453 100644
--- a/lib/trans-receiver-htmlfile.js
+++ b/lib/trans-receiver-htmlfile.js
@@ -1,3 +1,11 @@
+/*
+ * ***** BEGIN LICENSE BLOCK *****
+ * Copyright (c) 2011-2012 VMware, Inc.
+ *
+ * For the license see COPYING.
+ * ***** END LICENSE BLOCK *****
+ */
+
 var _is_ie_htmlfile_capable;
 var isIeHtmlfileCapable = function() {
     if (_is_ie_htmlfile_capable === undefined) {
diff --git a/lib/trans-receiver-xhr.js b/lib/trans-receiver-xhr.js
index 9a9f4ba..d114ebc 100644
--- a/lib/trans-receiver-xhr.js
+++ b/lib/trans-receiver-xhr.js
@@ -1,3 +1,10 @@
+/*
+ * ***** BEGIN LICENSE BLOCK *****
+ * Copyright (c) 2011-2012 VMware, Inc.
+ *
+ * For the license see COPYING.
+ * ***** END LICENSE BLOCK *****
+ */
 
 var XhrReceiver = function(url, AjaxObject) {
     var that = this;
diff --git a/lib/trans-sender.js b/lib/trans-sender.js
index f213d41..14acc94 100644
--- a/lib/trans-sender.js
+++ b/lib/trans-sender.js
@@ -1,3 +1,11 @@
+/*
+ * ***** BEGIN LICENSE BLOCK *****
+ * Copyright (c) 2011-2012 VMware, Inc.
+ *
+ * For the license see COPYING.
+ * ***** END LICENSE BLOCK *****
+ */
+
 var BufferedSender = function() {};
 BufferedSender.prototype.send_constructor = function(sender) {
     var that = this;
diff --git a/lib/trans-websocket.js b/lib/trans-websocket.js
index 948f646..e709cc3 100644
--- a/lib/trans-websocket.js
+++ b/lib/trans-websocket.js
@@ -1,3 +1,11 @@
+/*
+ * ***** BEGIN LICENSE BLOCK *****
+ * Copyright (c) 2011-2012 VMware, Inc.
+ *
+ * For the license see COPYING.
+ * ***** END LICENSE BLOCK *****
+ */
+
 var WebSocketTransport = SockJS.websocket = function(ri, trans_url) {
     var that = this;
     var url = trans_url + '/websocket';
diff --git a/lib/trans-xhr.js b/lib/trans-xhr.js
index 4f54997..f7ac933 100644
--- a/lib/trans-xhr.js
+++ b/lib/trans-xhr.js
@@ -1,3 +1,11 @@
+/*
+ * ***** BEGIN LICENSE BLOCK *****
+ * Copyright (c) 2011-2012 VMware, Inc.
+ *
+ * For the license see COPYING.
+ * ***** END LICENSE BLOCK *****
+ */
+
 var AjaxBasedTransport = function() {};
 AjaxBasedTransport.prototype = new BufferedSender();
 
diff --git a/lib/utils.js b/lib/utils.js
index b9ec25f..0175944 100644
--- a/lib/utils.js
+++ b/lib/utils.js
@@ -1,3 +1,11 @@
+/*
+ * ***** BEGIN LICENSE BLOCK *****
+ * Copyright (c) 2011-2012 VMware, Inc.
+ *
+ * For the license see COPYING.
+ * ***** END LICENSE BLOCK *****
+ */
+
 var random_string_chars = 'abcdefghijklmnopqrstuvwxyz0123456789_';
 utils.random_string = function(length, max) {
     max = max || random_string_chars.length;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/sockjs-client.git



More information about the Pkg-javascript-commits mailing list