there was an error in the object definition

This commit is contained in:
Piotr Zalewa 2014-03-15 18:44:57 -07:00
parent cd67d7a30f
commit 37047348db

View File

@ -26,10 +26,10 @@
var cordova = require('cordova'); var cordova = require('cordova');
var connection = navigator.connection || navigator.mozConnection || navigator.webkitConnection;
module.exports = { module.exports = {
var connection = navigator.connection || navigator.mozConnection || navigator.webkitConnection;
getConnectionInfo: function (win, fail, args) { 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);