From 37047348db396c3f1176d860436a03e400b7a659 Mon Sep 17 00:00:00 2001 From: Piotr Zalewa Date: Sat, 15 Mar 2014 18:44:57 -0700 Subject: [PATCH] there was an error in the object definition --- src/firefoxos/NetworkProxy.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/firefoxos/NetworkProxy.js b/src/firefoxos/NetworkProxy.js index 831706b..ec315d2 100644 --- a/src/firefoxos/NetworkProxy.js +++ b/src/firefoxos/NetworkProxy.js @@ -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); \ No newline at end of file +require("cordova/firefoxos/commandProxy").add("Network", module.exports);