From 315afb42dd2780189f03a1703249b71cce91df5e Mon Sep 17 00:00:00 2001 From: Ivan Kerin Date: Thu, 8 Aug 2013 15:57:29 +0300 Subject: [PATCH] add copyright to js files --- assets/echo.js | 5 +++++ assets/phantom.js | 9 ++++++++- assets/phantomjs-connection.js | 9 ++++++++- 3 files changed, 21 insertions(+), 2 deletions(-) diff --git a/assets/echo.js b/assets/echo.js index 84c4998..9e5b012 100644 --- a/assets/echo.js +++ b/assets/echo.js @@ -1,6 +1,11 @@ /** * A very simple phantomjs server, that's used for testing. * Returns the content of all the requests sent to it. + * + * @package Openbuildings\Spiderling + * @author Ivan Kerin + * @copyright (c) 2013 OpenBuildings Ltd. + * @license http://spdx.org/licenses/BSD-3-Clause */ var server, server_port; diff --git a/assets/phantom.js b/assets/phantom.js index 93d74ad..8bd8d81 100644 --- a/assets/phantom.js +++ b/assets/phantom.js @@ -1,4 +1,11 @@ - +/** + * Start a phantomjs server for handling Spiderling Phantomjs Driver requests + * + * @package Openbuildings\Spiderling + * @author Ivan Kerin + * @copyright (c) 2013 OpenBuildings Ltd. + * @license http://spdx.org/licenses/BSD-3-Clause + */ var server, page, system, errors, messages, server_port; page = require('webpage').create(); diff --git a/assets/phantomjs-connection.js b/assets/phantomjs-connection.js index f3c55d5..2d65fbb 100644 --- a/assets/phantomjs-connection.js +++ b/assets/phantomjs-connection.js @@ -1,6 +1,13 @@ var PhantomjsConnection = (function (document, undefined) { "use strict"; - + + /** + * @package Openbuildings\Spiderling + * @author Ivan Kerin + * @copyright (c) 2013 OpenBuildings Ltd. + * @license http://spdx.org/licenses/BSD-3-Clause + */ + var ids = []; var current = 0;