Add missing license headers found by RAT (cherry picked from commit db9df63a6831bd1c80c92433f13f53c97a1c225d)
Project: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/commit/4e18d6dc Tree: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/tree/4e18d6dc Diff: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/diff/4e18d6dc Branch: refs/heads/2.8.x Commit: 4e18d6dc8da36f841c530a3e4e0d908b2e433c6f Parents: d909b04 Author: Andrew Grieve <[email protected]> Authored: Tue May 28 16:59:54 2013 -0400 Committer: Andrew Grieve <[email protected]> Committed: Tue May 28 17:00:18 2013 -0400 ---------------------------------------------------------------------- README.md | 20 ++++++++++++++++++++ autotest/tests/datauri.tests.js | 18 ++++++++++++++++++ autotest/tests/globalization.tests.js | 18 ++++++++++++++++++ inappbrowser/inject.css | 18 ++++++++++++++++++ inappbrowser/inject.js | 18 ++++++++++++++++++ 5 files changed, 92 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/blob/4e18d6dc/README.md ---------------------------------------------------------------------- diff --git a/README.md b/README.md index bf3fb27..a9faf0b 100644 --- a/README.md +++ b/README.md @@ -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. +# +--> ## Mobile Spec Suite ## These specs are designed to run inside the mobile device that implements it - _it will fail in the DESKTOP browser_. http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/blob/4e18d6dc/autotest/tests/datauri.tests.js ---------------------------------------------------------------------- diff --git a/autotest/tests/datauri.tests.js b/autotest/tests/datauri.tests.js index c691aab..6b806bc 100644 --- a/autotest/tests/datauri.tests.js +++ b/autotest/tests/datauri.tests.js @@ -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. +*/ describe('data uris', function () { it("datauri.spec.1 should work with iframes", function() { var gotFoo = false, http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/blob/4e18d6dc/autotest/tests/globalization.tests.js ---------------------------------------------------------------------- diff --git a/autotest/tests/globalization.tests.js b/autotest/tests/globalization.tests.js index bc43b4a..01596ae 100644 --- a/autotest/tests/globalization.tests.js +++ b/autotest/tests/globalization.tests.js @@ -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. +*/ describe('Globalization (navigator.globalization)', function () { it("globalization.spec.1 should exist", function() { expect(navigator.globalization).toBeDefined(); http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/blob/4e18d6dc/inappbrowser/inject.css ---------------------------------------------------------------------- diff --git a/inappbrowser/inject.css b/inappbrowser/inject.css index 8e9904d..3f6e41c 100644 --- a/inappbrowser/inject.css +++ b/inappbrowser/inject.css @@ -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. +*/ #style-update-file { display: block !important; } http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/blob/4e18d6dc/inappbrowser/inject.js ---------------------------------------------------------------------- diff --git a/inappbrowser/inject.js b/inappbrowser/inject.js index 982c8bd..6f25493 100644 --- a/inappbrowser/inject.js +++ b/inappbrowser/inject.js @@ -1,2 +1,20 @@ +/* + * 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 d = document.getElementById("header") d.innerHTML = "Script file successfully injected";
