Skip to content

Commit e7fda76

Browse files
author
geremy
committed
fixing indents
1 parent 56dec3c commit e7fda76

4 files changed

Lines changed: 13 additions & 9 deletions

File tree

‎fixindents.sh‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
find . -name "*.js" -exec sed -i -e "s/\t/ /g" {} \;
2+
find . -name "*.html" -exec sed -i -e "s/\t/ /g" {} \;
3+
find . -name "*.html" -exec sed -i 's/[ \t]*$//' {} \;
4+
find . -name "*.js" -exec sed -i 's/[ \t]*$//' {} \;

‎phonegap/examples/PNPhoto/assets/www/cordova-2.6.0.js‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
to you under the Apache License, Version 2.0 (the
1313
"License"); you may not use this file except in compliance
1414
with the License. You may obtain a copy of the License at
15-
15+
1616
http://www.apache.org/licenses/LICENSE-2.0
17-
17+
1818
Unless required by applicable law or agreed to in writing,
1919
software distributed under the License is distributed on an
2020
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
@@ -6753,7 +6753,7 @@ window.cordova = require('cordova');
67536753
}
67546754

67556755
// Try to XHR the cordova_plugins.json file asynchronously.
6756-
try { // we commented we were going to try, so let us actually try and catch
6756+
try { // we commented we were going to try, so let us actually try and catch
67576757
var xhr = new context.XMLHttpRequest();
67586758
xhr.onreadystatechange = function() {
67596759
if (this.readyState != 4) { // not DONE

‎phonegap/examples/PNPhoto/assets/www/main.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ function toggleCompass() {
149149
navigator.compass.clearWatch(watchID);
150150
watchID = null;
151151
updateHeading({ magneticHeading : "Off"});
152-
} else {
152+
} else {
153153
var options = { frequency: 1000 };
154154
watchID = navigator.compass.watchHeading(updateHeading, function(e) {
155155
alert('Compass Error: ' + e.code);

‎phonegap/examples/PNPhoto/assets/www/spec/lib/jasmine-1.2.0/jasmine.js‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1019,7 +1019,7 @@ jasmine.Block = function(env, func, spec) {
10191019
this.spec = spec;
10201020
};
10211021

1022-
jasmine.Block.prototype.execute = function(onComplete) {
1022+
jasmine.Block.prototype.execute = function(onComplete) {
10231023
try {
10241024
this.func.apply(this.spec);
10251025
} catch (e) {
@@ -1059,7 +1059,7 @@ jasmine.JsApiReporter.prototype.summarize_ = function(suiteOrSpec) {
10591059
type: isSuite ? 'suite' : 'spec',
10601060
children: []
10611061
};
1062-
1062+
10631063
if (isSuite) {
10641064
var children = suiteOrSpec.children();
10651065
for (var i = 0; i < children.length; i++) {
@@ -1887,7 +1887,7 @@ jasmine.PrettyPrinter.prototype.format = function(value) {
18871887
jasmine.PrettyPrinter.prototype.iterateObject = function(obj, fn) {
18881888
for (var property in obj) {
18891889
if (property == '__Jasmine_been_here_before__') continue;
1890-
fn(property, obj.__lookupGetter__ ? (obj.__lookupGetter__(property) !== jasmine.undefined &&
1890+
fn(property, obj.__lookupGetter__ ? (obj.__lookupGetter__(property) !== jasmine.undefined &&
18911891
obj.__lookupGetter__(property) !== null) : false);
18921892
}
18931893
};
@@ -1990,7 +1990,7 @@ jasmine.Queue.prototype.next_ = function() {
19901990

19911991
while (goAgain) {
19921992
goAgain = false;
1993-
1993+
19941994
if (self.index < self.blocks.length && !this.abort) {
19951995
var calledSynchronously = true;
19961996
var completedSynchronously = false;
@@ -2028,7 +2028,7 @@ jasmine.Queue.prototype.next_ = function() {
20282028
if (completedSynchronously) {
20292029
onComplete();
20302030
}
2031-
2031+
20322032
} else {
20332033
self.running = false;
20342034
if (self.onComplete) {

0 commit comments

Comments
 (0)