CHORE - Remove Trailing Spaces

Summary:Remove Trailing Spaces.

Why:
Sometimes there are conflicts with trailing spaces
Saves space
Those whose tools automatically delete them will have their pr watered down with trailing space removal
Closes https://github.com/facebook/react-native/pull/6787

Differential Revision: D3144704

fb-gh-sync-id: d8a62f115a3f8a8a49d5b07f56c540a02af38cf8
fbshipit-source-id: d8a62f115a3f8a8a49d5b07f56c540a02af38cf8
This commit is contained in:
Nick 2016-04-06 09:20:39 -07:00 committed by Facebook Github Bot 2
parent 6f9aad3641
commit 27e79ff0c3
2 changed files with 5 additions and 5 deletions

View File

@ -14,11 +14,11 @@ case "$CONFIGURATION" in
Debug) Debug)
# Speed up build times by skipping the creation of the offline package for debug # Speed up build times by skipping the creation of the offline package for debug
# builds on the simulator since the packager is supposed to be running anyways. # builds on the simulator since the packager is supposed to be running anyways.
if [[ "$PLATFORM_NAME" = "iphonesimulator" ]]; then if [[ "$PLATFORM_NAME" = "iphonesimulator" ]]; then
echo "Skipping bundling for Simulator platform" echo "Skipping bundling for Simulator platform"
exit 0; exit 0;
fi fi
DEV=true DEV=true
;; ;;
"") "")

View File

@ -77,7 +77,7 @@ if (!String.prototype.includes) {
if (typeof start !== 'number') { if (typeof start !== 'number') {
start = 0; start = 0;
} }
if (start + search.length > this.length) { if (start + search.length > this.length) {
return false; return false;
} else { } else {