-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build Config with Cordova Tab Width Default #11
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
46 changes: 23 additions & 23 deletions
46
node-tests/fixtures/config.xml/android-platform-node-expected.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,26 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<widget id="emberCordovaExample" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0"> | ||
<name>emberCordovaExample</name> | ||
<description> | ||
A sample Apache Cordova application that responds to the deviceready event. | ||
</description> | ||
<author email="[email protected]" href="http://cordova.io"> | ||
Apache Cordova Team | ||
</author> | ||
<content src="index.html"/> | ||
<plugin name="cordova-plugin-whitelist" spec="1"/> | ||
<access origin="*"/> | ||
<allow-intent href="http://*/*"/> | ||
<allow-intent href="https://*/*"/> | ||
<allow-intent href="tel:*"/> | ||
<allow-intent href="sms:*"/> | ||
<allow-intent href="mailto:*"/> | ||
<allow-intent href="geo:*"/> | ||
<allow-navigation href="*"/> | ||
<platform name="android"> | ||
<icon src="res/icon/android/icon-60.png" height="72" width="72"/> | ||
</platform> | ||
<platform name="ios"> | ||
<icon src="res/icon/ios/icon.png" height="57" width="57"/> | ||
</platform> | ||
<name>emberCordovaExample</name> | ||
<description> | ||
A sample Apache Cordova application that responds to the deviceready event. | ||
</description> | ||
<author email="[email protected]" href="http://cordova.io"> | ||
Apache Cordova Team | ||
</author> | ||
<content src="index.html"/> | ||
<plugin name="cordova-plugin-whitelist" spec="1"/> | ||
<access origin="*"/> | ||
<allow-intent href="http://*/*"/> | ||
<allow-intent href="https://*/*"/> | ||
<allow-intent href="tel:*"/> | ||
<allow-intent href="sms:*"/> | ||
<allow-intent href="mailto:*"/> | ||
<allow-intent href="geo:*"/> | ||
<allow-navigation href="*"/> | ||
<platform name="android"> | ||
<icon src="res/icon/android/icon-60.png" height="72" width="72"/> | ||
</platform> | ||
<platform name="ios"> | ||
<icon src="res/icon/ios/icon.png" height="57" width="57"/> | ||
</platform> | ||
</widget> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<widget id="emberCordovaExample" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0"> | ||
<name>emberCordovaExample</name> | ||
<description> | ||
A sample Apache Cordova application that responds to the deviceready event. | ||
</description> | ||
<author email="[email protected]" href="http://cordova.io"> | ||
Apache Cordova Team | ||
</author> | ||
<content src="index.html"/> | ||
<plugin name="cordova-plugin-whitelist" spec="1"/> | ||
<access origin="*"/> | ||
<allow-intent href="http://*/*"/> | ||
<allow-intent href="https://*/*"/> | ||
<allow-intent href="tel:*"/> | ||
<allow-intent href="sms:*"/> | ||
<allow-intent href="mailto:*"/> | ||
<allow-intent href="geo:*"/> | ||
<allow-navigation href="*"/> | ||
<platform name="android"> | ||
<icon src="res/icon/android/icon-60.png" height="72" width="72"/> | ||
</platform> | ||
<name>emberCordovaExample</name> | ||
<description> | ||
A sample Apache Cordova application that responds to the deviceready event. | ||
</description> | ||
<author email="[email protected]" href="http://cordova.io"> | ||
Apache Cordova Team | ||
</author> | ||
<content src="index.html"/> | ||
<plugin name="cordova-plugin-whitelist" spec="1"/> | ||
<access origin="*"/> | ||
<allow-intent href="http://*/*"/> | ||
<allow-intent href="https://*/*"/> | ||
<allow-intent href="tel:*"/> | ||
<allow-intent href="sms:*"/> | ||
<allow-intent href="mailto:*"/> | ||
<allow-intent href="geo:*"/> | ||
<allow-navigation href="*"/> | ||
<platform name="android"> | ||
<icon src="res/icon/android/icon-60.png" height="72" width="72"/> | ||
</platform> | ||
</widget> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<widget id="emberCordovaExample" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0"> | ||
<name>emberCordovaExample</name> | ||
<description> | ||
A sample Apache Cordova application that responds to the deviceready event. | ||
</description> | ||
<author email="[email protected]" href="http://cordova.io"> | ||
Apache Cordova Team | ||
</author> | ||
<content src="index.html"/> | ||
<plugin name="cordova-plugin-whitelist" spec="1"/> | ||
<access origin="*"/> | ||
<allow-intent href="http://*/*"/> | ||
<allow-intent href="https://*/*"/> | ||
<allow-intent href="tel:*"/> | ||
<allow-intent href="sms:*"/> | ||
<allow-intent href="mailto:*"/> | ||
<allow-intent href="geo:*"/> | ||
<allow-navigation href="*"/> | ||
<platform name="ios"> | ||
</platform> | ||
<name>emberCordovaExample</name> | ||
<description> | ||
A sample Apache Cordova application that responds to the deviceready event. | ||
</description> | ||
<author email="[email protected]" href="http://cordova.io"> | ||
Apache Cordova Team | ||
</author> | ||
<content src="index.html"/> | ||
<plugin name="cordova-plugin-whitelist" spec="1"/> | ||
<access origin="*"/> | ||
<allow-intent href="http://*/*"/> | ||
<allow-intent href="https://*/*"/> | ||
<allow-intent href="tel:*"/> | ||
<allow-intent href="sms:*"/> | ||
<allow-intent href="mailto:*"/> | ||
<allow-intent href="geo:*"/> | ||
<allow-navigation href="*"/> | ||
<platform name="ios"> | ||
</platform> | ||
</widget> |
40 changes: 20 additions & 20 deletions
40
node-tests/fixtures/config.xml/no-and-ios-platform-node-expected.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<widget id="emberCordovaExample" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0"> | ||
<name>emberCordovaExample</name> | ||
<description> | ||
A sample Apache Cordova application that responds to the deviceready event. | ||
</description> | ||
<author email="[email protected]" href="http://cordova.io"> | ||
Apache Cordova Team | ||
</author> | ||
<content src="index.html"/> | ||
<plugin name="cordova-plugin-whitelist" spec="1"/> | ||
<access origin="*"/> | ||
<allow-intent href="http://*/*"/> | ||
<allow-intent href="https://*/*"/> | ||
<allow-intent href="tel:*"/> | ||
<allow-intent href="sms:*"/> | ||
<allow-intent href="mailto:*"/> | ||
<allow-intent href="geo:*"/> | ||
<allow-navigation href="*"/> | ||
<platform name="ios"> | ||
<icon src="res/icon/ios/icon.png" height="57" width="57"/> | ||
</platform> | ||
<name>emberCordovaExample</name> | ||
<description> | ||
A sample Apache Cordova application that responds to the deviceready event. | ||
</description> | ||
<author email="[email protected]" href="http://cordova.io"> | ||
Apache Cordova Team | ||
</author> | ||
<content src="index.html"/> | ||
<plugin name="cordova-plugin-whitelist" spec="1"/> | ||
<access origin="*"/> | ||
<allow-intent href="http://*/*"/> | ||
<allow-intent href="https://*/*"/> | ||
<allow-intent href="tel:*"/> | ||
<allow-intent href="sms:*"/> | ||
<allow-intent href="mailto:*"/> | ||
<allow-intent href="geo:*"/> | ||
<allow-navigation href="*"/> | ||
<platform name="ios"> | ||
<icon src="res/icon/ios/icon.png" height="57" width="57"/> | ||
</platform> | ||
</widget> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
<?xml version="1.0" encoding="utf-8" standalone="yes"?> | ||
<widget id="emberCordovaExample" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0"> | ||
<name>emberCordovaExample</name> | ||
<description> | ||
A sample Apache Cordova application that responds to the deviceready event. | ||
</description> | ||
<author email="[email protected]" href="http://cordova.io"> | ||
Apache Cordova Team | ||
</author> | ||
<content src="index.html"/> | ||
<plugin name="cordova-plugin-whitelist" spec="1"/> | ||
<access origin="*"/> | ||
<allow-intent href="http://*/*"/> | ||
<allow-intent href="https://*/*"/> | ||
<allow-intent href="tel:*"/> | ||
<allow-intent href="sms:*"/> | ||
<allow-intent href="mailto:*"/> | ||
<allow-intent href="geo:*"/> | ||
<allow-navigation href="*"/> | ||
<name>emberCordovaExample</name> | ||
<description> | ||
A sample Apache Cordova application that responds to the deviceready event. | ||
</description> | ||
<author email="[email protected]" href="http://cordova.io"> | ||
Apache Cordova Team | ||
</author> | ||
<content src="index.html"/> | ||
<plugin name="cordova-plugin-whitelist" spec="1"/> | ||
<access origin="*"/> | ||
<allow-intent href="http://*/*"/> | ||
<allow-intent href="https://*/*"/> | ||
<allow-intent href="tel:*"/> | ||
<allow-intent href="sms:*"/> | ||
<allow-intent href="mailto:*"/> | ||
<allow-intent href="geo:*"/> | ||
<allow-navigation href="*"/> | ||
</widget> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't this be CRLF on windows? You might need to detect the line ending so it doesn't make the whole file show up as changed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For now we're gonna leave this as a
\n
as we have other more pressing items.That said, as @alexblom said we're moving towards treating
config.xml
as a temporary file. And with that in mind, once it is committed as a file with\n
line endings, subsequent changes should (also using the\n
line endings) just show the single lines changed.