summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NOTICE6
-rw-r--r--license.skip1
-rw-r--r--share/www/spec/couch_js_class_methods_spec.js12
-rw-r--r--share/www/spec/couch_js_instance_methods_1_spec.js12
-rw-r--r--share/www/spec/couch_js_instance_methods_2_spec.js12
-rw-r--r--share/www/spec/couch_js_instance_methods_3_spec.js12
-rw-r--r--share/www/spec/custom_helpers.js12
-rw-r--r--share/www/spec/jquery_couch_js_class_methods_spec.js12
-rw-r--r--share/www/spec/jquery_couch_js_instance_methods_1_spec.js12
-rw-r--r--share/www/spec/jquery_couch_js_instance_methods_2_spec.js12
-rw-r--r--share/www/spec/jquery_couch_js_instance_methods_3_spec.js12
-rw-r--r--share/www/spec/run.html13
12 files changed, 127 insertions, 1 deletions
diff --git a/NOTICE b/NOTICE
index a8a01e1d..d547e55f 100644
--- a/NOTICE
+++ b/NOTICE
@@ -44,4 +44,8 @@ This product also includes the following third-party components:
* base64.js
- Copyright 1999, Masanao Izumo <iz@onicos.co.jp> \ No newline at end of file
+ Copyright 1999, Masanao Izumo <iz@onicos.co.jp>
+
+* jspec.js (http://visionmedia.github.com/jspec/)
+
+ Copyright 2010 TJ Holowaychuk <tj@vision-media.ca>
diff --git a/license.skip b/license.skip
index ea059564..f9a388f9 100644
--- a/license.skip
+++ b/license.skip
@@ -62,6 +62,7 @@
^share/www/image/*
^share/www/script/jquery.*
^share/www/script/json2.js
+^share/www/script/jspec/*
^share/www/script/sha1.js
^share/www/script/base64.js
^share/www/script/test/lorem*
diff --git a/share/www/spec/couch_js_class_methods_spec.js b/share/www/spec/couch_js_class_methods_spec.js
index 3c2ec3be..7eac2348 100644
--- a/share/www/spec/couch_js_class_methods_spec.js
+++ b/share/www/spec/couch_js_class_methods_spec.js
@@ -1,3 +1,15 @@
+// Licensed under the Apache License, Version 2.0 (the "License"); you may not
+// use this file except in compliance with the License. You may obtain a copy of
+// the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+// License for the specific language governing permissions and limitations under
+// the License.
+
// Specs for couch.js lines 313-470
describe 'CouchDB class'
diff --git a/share/www/spec/couch_js_instance_methods_1_spec.js b/share/www/spec/couch_js_instance_methods_1_spec.js
index 81a06179..7f23bd2c 100644
--- a/share/www/spec/couch_js_instance_methods_1_spec.js
+++ b/share/www/spec/couch_js_instance_methods_1_spec.js
@@ -1,3 +1,15 @@
+// Licensed under the Apache License, Version 2.0 (the "License"); you may not
+// use this file except in compliance with the License. You may obtain a copy of
+// the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+// License for the specific language governing permissions and limitations under
+// the License.
+
// Specs for couch.js lines 1-130
describe 'CouchDB instance'
diff --git a/share/www/spec/couch_js_instance_methods_2_spec.js b/share/www/spec/couch_js_instance_methods_2_spec.js
index 4df0c9a6..76df6368 100644
--- a/share/www/spec/couch_js_instance_methods_2_spec.js
+++ b/share/www/spec/couch_js_instance_methods_2_spec.js
@@ -1,3 +1,15 @@
+// Licensed under the Apache License, Version 2.0 (the "License"); you may not
+// use this file except in compliance with the License. You may obtain a copy of
+// the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+// License for the specific language governing permissions and limitations under
+// the License.
+
// Specs for couch.js lines 132-199
describe 'CouchDB instance'
diff --git a/share/www/spec/couch_js_instance_methods_3_spec.js b/share/www/spec/couch_js_instance_methods_3_spec.js
index 692e08e6..b7464c01 100644
--- a/share/www/spec/couch_js_instance_methods_3_spec.js
+++ b/share/www/spec/couch_js_instance_methods_3_spec.js
@@ -1,3 +1,15 @@
+// Licensed under the Apache License, Version 2.0 (the "License"); you may not
+// use this file except in compliance with the License. You may obtain a copy of
+// the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+// License for the specific language governing permissions and limitations under
+// the License.
+
// Specs for couch.js lines 201-265
describe 'CouchDB instance'
diff --git a/share/www/spec/custom_helpers.js b/share/www/spec/custom_helpers.js
index 35055c54..d29ee87b 100644
--- a/share/www/spec/custom_helpers.js
+++ b/share/www/spec/custom_helpers.js
@@ -1,3 +1,15 @@
+// Licensed under the Apache License, Version 2.0 (the "License"); you may not
+// use this file except in compliance with the License. You may obtain a copy of
+// the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+// License for the specific language governing permissions and limitations under
+// the License.
+
function stubAlert(){
if(typeof(old_alert) == 'undefined'){
old_alert = alert;
diff --git a/share/www/spec/jquery_couch_js_class_methods_spec.js b/share/www/spec/jquery_couch_js_class_methods_spec.js
index a8deb2b6..f2df81b3 100644
--- a/share/www/spec/jquery_couch_js_class_methods_spec.js
+++ b/share/www/spec/jquery_couch_js_class_methods_spec.js
@@ -1,3 +1,15 @@
+// Licensed under the Apache License, Version 2.0 (the "License"); you may not
+// use this file except in compliance with the License. You may obtain a copy of
+// the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+// License for the specific language governing permissions and limitations under
+// the License.
+
// Specs for jquery_couch.js lines 48-156 and 415-448
describe 'jQuery couchdb'
diff --git a/share/www/spec/jquery_couch_js_instance_methods_1_spec.js b/share/www/spec/jquery_couch_js_instance_methods_1_spec.js
index 3dc363ba..8538c856 100644
--- a/share/www/spec/jquery_couch_js_instance_methods_1_spec.js
+++ b/share/www/spec/jquery_couch_js_instance_methods_1_spec.js
@@ -1,3 +1,15 @@
+// Licensed under the Apache License, Version 2.0 (the "License"); you may not
+// use this file except in compliance with the License. You may obtain a copy of
+// the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+// License for the specific language governing permissions and limitations under
+// the License.
+
// Specs for jquery_couch.js lines 163-209
describe 'jQuery couchdb db'
diff --git a/share/www/spec/jquery_couch_js_instance_methods_2_spec.js b/share/www/spec/jquery_couch_js_instance_methods_2_spec.js
index fbcdacc4..8f35affa 100644
--- a/share/www/spec/jquery_couch_js_instance_methods_2_spec.js
+++ b/share/www/spec/jquery_couch_js_instance_methods_2_spec.js
@@ -1,3 +1,15 @@
+// Licensed under the Apache License, Version 2.0 (the "License"); you may not
+// use this file except in compliance with the License. You may obtain a copy of
+// the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+// License for the specific language governing permissions and limitations under
+// the License.
+
// Specs for jquery_couch.js lines 210-299
describe 'jQuery couchdb db'
diff --git a/share/www/spec/jquery_couch_js_instance_methods_3_spec.js b/share/www/spec/jquery_couch_js_instance_methods_3_spec.js
index 4d21c16c..5d27d817 100644
--- a/share/www/spec/jquery_couch_js_instance_methods_3_spec.js
+++ b/share/www/spec/jquery_couch_js_instance_methods_3_spec.js
@@ -1,3 +1,15 @@
+// Licensed under the Apache License, Version 2.0 (the "License"); you may not
+// use this file except in compliance with the License. You may obtain a copy of
+// the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+// License for the specific language governing permissions and limitations under
+// the License.
+
// Specs for jquery_couch.js lines 300-411
describe 'jQuery couchdb db'
diff --git a/share/www/spec/run.html b/share/www/spec/run.html
index 3e9e943a..e438333d 100644
--- a/share/www/spec/run.html
+++ b/share/www/spec/run.html
@@ -1,3 +1,16 @@
+<!--
+Licensed under the Apache License, Version 2.0 (the "License"); you may not
+use this file except in compliance with the License. You may obtain a copy of
+the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+License for the specific language governing permissions and limitations under
+the License.
+-->
<html>
<head>
<link type="text/css" rel="stylesheet" href="../script/jspec/jspec.css" />