mirror of
https://github.com/apache/cordova-plugin-screen-orientation.git
synced 2025-02-23 16:42:50 +08:00
Fix license header, add trailing newlines
This commit is contained in:
parent
bef03769de
commit
288c2f8ef2
@ -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>
|
||||
|
@ -97,4 +97,4 @@ function myFunction2() {
|
||||
alert('This change listener uses screen.orientation.addEventListener');
|
||||
}
|
||||
|
||||
app.initialize();
|
||||
app.initialize();
|
||||
|
@ -39,4 +39,4 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -117,4 +117,4 @@ exports.defineAutoTests = function() {
|
||||
|
||||
});
|
||||
});
|
||||
};
|
||||
};
|
||||
|
@ -31,4 +31,4 @@ screenOrientation.setOrientation = function(orientation) {
|
||||
}
|
||||
};
|
||||
|
||||
module.exports = screenOrientation;
|
||||
module.exports = screenOrientation;
|
||||
|
@ -141,4 +141,4 @@ function setOrientationProperties() {
|
||||
}
|
||||
window.addEventListener("orientationchange", orientationchange, true);
|
||||
screen.orientation.addEventListener = document.addEventListener;
|
||||
module.exports = screenOrientation;
|
||||
module.exports = screenOrientation;
|
||||
|
Loading…
Reference in New Issue
Block a user