agreed, struggled with putting that in myself earlier (twss)


On 24 April 2014 14:14, John Frizelle <notifications@github.com> wrote:

> In application.js:
>
> > @@ -1,11 +1,30 @@
> >  var mbaas = require('fh-mbaas-express');
> >  var express = require('express');
> > -var mainjs = require('./lib/main.js');
> > +var fs = require('fs');
> > +var mainjs;
> > +
> > +if (fs.existsSync('./lib/main.js')) {
>
> Think we should remove this and keep template code clean. We can add this
> to fh2 to fh 3 migration guide.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/feedhenry-templates/helloworld-mbaas/pull/2/files#r11947902>
> .
>

-- 
*******************************************************************************************
This email message is from FeedHenry Ltd. The email and any files 
transmitted
with it are confidential and may also be privileged and intended solely for 
the
use of the individual or entity to whom they are addressed. Any unauthorized
direct or indirect dissemination, distribution or copying of this message 
and
any attachments is strictly prohibited. If you have received the email in 
error
please notify postmaster@feedhenry.com.

FeedHenry Ltd., Cleaboy Business Park,Waterford, Ireland.
Registered in Ireland as Company Reg. Number: 458931 www.feedhenry.com

********************************************************************************************