Sure! Anytime! Let's touch base on IM. On Wed, May 30, 2012 at 11:12 AM, Filip Maj <[email protected]> wrote:
> Let's do it. Tomorrow sometime? > > On 5/30/12 10:59 AM, "Anis KADRI" <[email protected]> wrote: > > >Yes still. I stopped looking into this issue. It drove me insane. Do you > >want to do a live hack session sometime this week? > > > >On Wed, May 30, 2012 at 10:57 AM, Filip Maj <[email protected]> wrote: > > > >> Anis, how is this going for you? Still having issues? > >> > >> On 5/22/12 1:02 AM, "Anis KADRI" <[email protected]> wrote: > >> > >> >Hi all, > >> > > >> >I am trying to implement the File API for bada 2.0 however I have been > >> >running into this problem and I haven't been able to solve it. > >> > > >> >Whenever I run exec for any method of DirectoryEntry I get the > >>following > >> >error: > >> > > >> >TypeError: '[object Object]' is not a function (evaluating 'exec(win, > >> >fail, > >> >"File", "getFile", [this.fullPath, path, options])') > >> > > >> >The reason is that exec is for some reason equal to the empty object > >>{}. > >> > > >> >I believe the build method is not working properly and is leaving > >> >module.exports to {} in this case. > >> > > >> >If I redefine exec like so: > >> > > >> >var exec = require('cordova/exec'); > >> > > >> >Right before I call it in any of the DirectoryEntry methods then it > >>works > >> >fine! > >> > > >> >Does anyone know what might be going on ? > >> > > >> >The weird thing is that this TypeError only happens for DirectoryEntry > >>and > >> >not for any other modules. I use exec everywhere else just fine. > >> > > >> >Any help really appreciated! I wasted way too much time on this... > >> > > >> >Thanks > >> > > >> >Anis > >> > >> > >
