Skip to content

Commit

Permalink
fixed whitespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
dansilivestru authored and gtanner committed Jan 29, 2013
1 parent 840e56a commit 29b266b
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 7 deletions.
2 changes: 2 additions & 0 deletions Jakefile
Expand Up @@ -89,6 +89,7 @@ task('build', ['clean', 'hint', 'update-version'], function () {

packager.generate("windows8",commitId,true);
packager.generate("blackberry",commitId);
packager.generate("b2g",commitId);
packager.generate("ios",commitId);
packager.generate("windowsphone",commitId,true);
packager.generate("android",commitId);
Expand All @@ -109,6 +110,7 @@ task('update-version', ['set-cwd'], function() {
var files = {
"lib/bada/plugin/bada/device.js":/(me\.cordova\s=\s").+(")/,
"lib/tizen/plugin/tizen/Device.js":/(this\.cordova\s=\s").+(")/,
"lib/b2g/plugin/b2g/Device.js":/(this\.cordova\s=\s").+(")/,
"lib/blackberry/plugin/qnx/device.js":/(cordova:\s").+(")/,
"lib/blackberry/plugin/air/device.js":/(cordova:\s").+(")/
};
Expand Down
1 change: 1 addition & 0 deletions build/packager.js
Expand Up @@ -57,6 +57,7 @@ packager.bundle = function(platform, debug, commitId ) {

//Test platform needs to bring in platform specific plugin's for testing
copyProps(modules, collectFiles(path.join('lib', 'blackberry', 'plugin'), 'plugin'));
copyProps(modules, collectFiles(path.join('lib', 'b2g', 'plugin', 'b2g'), 'plugin/b2g'));
copyProps(modules, collectFiles(path.join('lib', 'tizen', 'plugin', 'tizen'), 'plugin/tizen'));
copyProps(modules, collectFiles(path.join('lib', 'windowsphone', 'plugin', 'windowsphone'), 'plugin/windowsphone'));
copyProps(modules, collectFiles(path.join('lib', 'windows8', 'plugin', 'windows8'), 'plugin/windows8'));
Expand Down
2 changes: 1 addition & 1 deletion lib/webos/platform.js
Expand Up @@ -70,7 +70,7 @@ module.exports = {
console.log("event:ToggleAppMenu");
cordova.fireDocumentEvent("menubutton");
}

console.log("relaunch");
return true;
};
Expand Down
2 changes: 1 addition & 1 deletion lib/windows8/platform.js
Expand Up @@ -51,7 +51,7 @@ module.exports = {
modulemapper.mapModules(window);

window.alert = window.alert || require("cordova/plugin/notification").alert;
window.confirm = window.confirm || require("cordova/plugin/notification").confirm;
window.confirm = window.confirm || require("cordova/plugin/notification").confirm;

var onWinJSReady = function () {
var app = WinJS.Application;
Expand Down
10 changes: 5 additions & 5 deletions lib/windows8/plugin/windows8/NotificationProxy.js
Expand Up @@ -28,7 +28,7 @@ var alertStack = [];

module.exports = {
alert:function(win, loseX, args) {

if (isAlertShowing) {
var later = function () {
module.exports.alert(win, loseX, args);
Expand All @@ -37,7 +37,7 @@ module.exports = {
return;
}
isAlertShowing = true;

var message = args[0];
var _title = args[1];
var _buttonLabel = args[2];
Expand All @@ -46,12 +46,12 @@ module.exports = {
md.commands.append(new Windows.UI.Popups.UICommand(_buttonLabel));
md.showAsync().then(function() {
isAlertShowing = false;
win && win();
win && win();

if (alertStack.length) {
setTimeout(alertStack.shift(), 0);
}

});
},

Expand Down Expand Up @@ -88,7 +88,7 @@ module.exports = {
if (alertStack.length) {
setTimeout(alertStack.shift(), 0);
}

});
},

Expand Down
4 changes: 4 additions & 0 deletions package.json
Expand Up @@ -43,6 +43,10 @@
{
"name":"Anis Kadri",
"email":""
},
{
"name":"Dan Silivestru",
"email":"dansilivestru@apache.org"
}
],
"dependencies": {
Expand Down

0 comments on commit 29b266b

Please sign in to comment.