From 1fcaf2435ffdee0a9129ab3c7f2939dec0928fe3 Mon Sep 17 00:00:00 2001 From: Joe Bowser Date: Mon, 7 May 2012 14:27:33 -0700 Subject: [PATCH] Adding more Apache licence headers --- bin/package.json | 18 ++++++++++++++ .../templates/project/assets/www/.main.js.swp | Bin 0 -> 20480 bytes .../templates/project/assets/www/index.html | 18 ++++++++++++++ .../templates/project/assets/www/main.js | 19 +++++++++++++++ .../templates/project/assets/www/master.css | 22 +++++++++++++++++- bin/tests/autotest.coffee | 20 ++++++++++++++++ bin/tests/create.coffee | 19 +++++++++++++++ bin/tests/debug.coffee | 18 ++++++++++++++ 8 files changed, 133 insertions(+), 1 deletion(-) create mode 100644 bin/templates/project/cordova/templates/project/assets/www/.main.js.swp diff --git a/bin/package.json b/bin/package.json index 76a74f46..b4231140 100644 --- a/bin/package.json +++ b/bin/package.json @@ -1,3 +1,21 @@ +/* + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you 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. +*/ { "name": "cordova-android-cli", "description": "CLI tooling for the cordova-android project", diff --git a/bin/templates/project/cordova/templates/project/assets/www/.main.js.swp b/bin/templates/project/cordova/templates/project/assets/www/.main.js.swp new file mode 100644 index 0000000000000000000000000000000000000000..07993ba278587b6fe218ade812aa770f540f8773 GIT binary patch literal 20480 zcmeI4ZHy#E8OIwA1m*2O@dXg;2EFOMo9)@#J;dAPg8MRiH?lW--0rd9xw-Uo*Ua=? zPj}N@v$J!{p%}v_G$DQv3<<$tf=Y}rq7j2cO;q?Oi7x>)5F&|*uTk&?#Q)P>J<~h0 zdwYD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!A%1*TGI3y{KQtGAnUOi5dccNRM0@>mN(vq&Du5+^9+4QW` zn=MFl7MdK+V5`1?D7S2U4BQx;d#Grdp7hzK1vNNr$8TInlD0(wZO7iM5^>TN=5ZwI x`X(fvpEwR|3*%PHvHPknjVWadW5lgcw8F;rGI5I{=%3P~aD$D@NK+@Y{{qFsY1jY& literal 0 HcmV?d00001 diff --git a/bin/templates/project/cordova/templates/project/assets/www/index.html b/bin/templates/project/cordova/templates/project/assets/www/index.html index a66fdbe2..2bf3dda5 100644 --- a/bin/templates/project/cordova/templates/project/assets/www/index.html +++ b/bin/templates/project/cordova/templates/project/assets/www/index.html @@ -1,4 +1,22 @@ + diff --git a/bin/templates/project/cordova/templates/project/assets/www/main.js b/bin/templates/project/cordova/templates/project/assets/www/main.js index f6316928..739a02e3 100644 --- a/bin/templates/project/cordova/templates/project/assets/www/main.js +++ b/bin/templates/project/cordova/templates/project/assets/www/main.js @@ -1,3 +1,22 @@ +/* + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you 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. +*/ + var deviceInfo = function() { document.getElementById("platform").innerHTML = device.platform; document.getElementById("version").innerHTML = device.version; diff --git a/bin/templates/project/cordova/templates/project/assets/www/master.css b/bin/templates/project/cordova/templates/project/assets/www/master.css index d4401f51..3aad33d3 100644 --- a/bin/templates/project/cordova/templates/project/assets/www/master.css +++ b/bin/templates/project/cordova/templates/project/assets/www/master.css @@ -1,4 +1,24 @@ - body { +/* + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you 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. +*/ + + + body { background:#222 none repeat scroll 0 0; color:#666; font-family:Helvetica; diff --git a/bin/tests/autotest.coffee b/bin/tests/autotest.coffee index 28479653..1ee4c397 100644 --- a/bin/tests/autotest.coffee +++ b/bin/tests/autotest.coffee @@ -1,3 +1,23 @@ +/* + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you 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. +*/ + + exports['you are sane'] = (test) -> test.expect 1 test.ok true, "this assertion should always pass" diff --git a/bin/tests/create.coffee b/bin/tests/create.coffee index 0ed37efc..6c87af4f 100644 --- a/bin/tests/create.coffee +++ b/bin/tests/create.coffee @@ -1,3 +1,22 @@ +/* + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you 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. +*/ + util = require 'util' exec = require('child_process').exec path = require 'path' diff --git a/bin/tests/debug.coffee b/bin/tests/debug.coffee index e69de29b..a5d9ebac 100644 --- a/bin/tests/debug.coffee +++ b/bin/tests/debug.coffee @@ -0,0 +1,18 @@ +/* + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you 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. +*/