There were some lint errors in the project.
diff --git a/lib/server/emulate/hosted.js b/lib/server/emulate/hosted.js
index ec8c0b0..515262f 100644
--- a/lib/server/emulate/hosted.js
+++ b/lib/server/emulate/hosted.js
@@ -162,21 +162,21 @@
return function (req, res, next) {
if (req.query.enableripple && req.staticPlatform) {
- console.log('refreshing project (platform: ' + req.staticPlatform + ') ...');
+ console.log('refreshing project (platform: ' + req.staticPlatform + ') ...');
exec('cordova prepare ' + req.staticPlatform, function () {
- // make ripple compatible with phonegap
- // as of version 3.0 phonegap uses phonegap.js instead of cordova.js
- // but the files are identical
- if(req.query.phonegap) {
- var path = './platforms/' + req.staticPlatform + '/assets/www';
- fs.readFile(path + '/cordova.js', function(err, data) {
- if(err) throw err;
- console.log('... copying cordova.js to phonegap.js')
- fs.writeFileSync(path + '/phonegap.js', data);
- })
- }
- console.log('... done.');
- handle(req, res, next);
+ // make ripple compatible with phonegap
+ // as of version 3.0 phonegap uses phonegap.js instead of cordova.js
+ // but the files are identical
+ if(req.query.phonegap) {
+ var path = './platforms/' + req.staticPlatform + '/assets/www';
+ fs.readFile(path + '/cordova.js', function(err, data) {
+ if(err) throw err;
+ console.log('... copying cordova.js to phonegap.js');
+ fs.writeFileSync(path + '/phonegap.js', data);
+ });
+ }
+ console.log('... done.');
+ handle(req, res, next);
});
}
else {