You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by pu...@apache.org on 2017/03/10 01:57:18 UTC
[3/6] cordova-plugin-screen-orientation git commit: Fix license
header, add trailing newlines
Fix license header, add trailing newlines
Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-screen-orientation/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-screen-orientation/commit/288c2f8e
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-screen-orientation/tree/288c2f8e
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-screen-orientation/diff/288c2f8e
Branch: refs/heads/master
Commit: 288c2f8ef202f4c31069f5e1b8de5b0a963f4b10
Parents: bef0376
Author: Jesse MacFadyen <pu...@gmail.com>
Authored: Thu Mar 9 14:18:20 2017 -0800
Committer: Jesse MacFadyen <pu...@gmail.com>
Committed: Thu Mar 9 14:35:57 2017 -0800
----------------------------------------------------------------------
demo/config.xml | 37 +++++++++++++++++++------------------
demo/www/js/index.js | 2 +-
package.json | 2 +-
tests/tests.js | 2 +-
www/screenorientation.bb10.js | 2 +-
www/screenorientation.js | 2 +-
6 files changed, 24 insertions(+), 23 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-plugin-screen-orientation/blob/288c2f8e/demo/config.xml
----------------------------------------------------------------------
diff --git a/demo/config.xml b/demo/config.xml
index a941c43..2b9c1ab 100644
--- a/demo/config.xml
+++ b/demo/config.xml
@@ -1,21 +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.
- */
+<!--
+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.
+-->
+
<?xml version='1.0' encoding='utf-8'?>
<widget id="com.cordova.screenorientationdemo" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>ScreenOrientationDemo</name>
http://git-wip-us.apache.org/repos/asf/cordova-plugin-screen-orientation/blob/288c2f8e/demo/www/js/index.js
----------------------------------------------------------------------
diff --git a/demo/www/js/index.js b/demo/www/js/index.js
index 807b940..8512912 100644
--- a/demo/www/js/index.js
+++ b/demo/www/js/index.js
@@ -97,4 +97,4 @@ function myFunction2() {
alert('This change listener uses screen.orientation.addEventListener');
}
-app.initialize();
\ No newline at end of file
+app.initialize();
http://git-wip-us.apache.org/repos/asf/cordova-plugin-screen-orientation/blob/288c2f8e/package.json
----------------------------------------------------------------------
diff --git a/package.json b/package.json
index 62177b7..537414a 100644
--- a/package.json
+++ b/package.json
@@ -39,4 +39,4 @@
}
}
}
-}
\ No newline at end of file
+}
http://git-wip-us.apache.org/repos/asf/cordova-plugin-screen-orientation/blob/288c2f8e/tests/tests.js
----------------------------------------------------------------------
diff --git a/tests/tests.js b/tests/tests.js
index 40608b7..c19500e 100644
--- a/tests/tests.js
+++ b/tests/tests.js
@@ -117,4 +117,4 @@ exports.defineAutoTests = function() {
});
});
-};
\ No newline at end of file
+};
http://git-wip-us.apache.org/repos/asf/cordova-plugin-screen-orientation/blob/288c2f8e/www/screenorientation.bb10.js
----------------------------------------------------------------------
diff --git a/www/screenorientation.bb10.js b/www/screenorientation.bb10.js
index 559c8be..eef4bca 100644
--- a/www/screenorientation.bb10.js
+++ b/www/screenorientation.bb10.js
@@ -31,4 +31,4 @@ screenOrientation.setOrientation = function(orientation) {
}
};
-module.exports = screenOrientation;
\ No newline at end of file
+module.exports = screenOrientation;
http://git-wip-us.apache.org/repos/asf/cordova-plugin-screen-orientation/blob/288c2f8e/www/screenorientation.js
----------------------------------------------------------------------
diff --git a/www/screenorientation.js b/www/screenorientation.js
index b61b802..bafc046 100644
--- a/www/screenorientation.js
+++ b/www/screenorientation.js
@@ -141,4 +141,4 @@ function setOrientationProperties() {
}
window.addEventListener("orientationchange", orientationchange, true);
screen.orientation.addEventListener = document.addEventListener;
-module.exports = screenOrientation;
\ No newline at end of file
+module.exports = screenOrientation;
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org