Merge pull request #1 from zalun/fix_firefoxos

there was an error in the object definition
This commit is contained in:
Piotr Zalewa 2014-03-17 21:06:31 +00:00
commit f973965a03

View File

@ -26,10 +26,10 @@
var cordova = require('cordova');
var connection = navigator.connection || navigator.mozConnection || navigator.webkitConnection;
module.exports = {
var connection = navigator.connection || navigator.mozConnection || navigator.webkitConnection;
getConnectionInfo: function (win, fail, args) {
/*
@ -57,4 +57,4 @@ module.exports = {
}
};
require("cordova/firefoxos/commandProxy").add("Network", module.exports);
require("cordova/firefoxos/commandProxy").add("Network", module.exports);