totaljs/modules

I think there is something wrong with in-memory session module

thelinuxlich opened this issue · 1 comments

I've just put the module and definition on my project, without really using it, and it is throwing this:

homepage_prod homepage TypeError: Cannot call method 'split' of undefined TypeError: Cannot call method 'split' of undefined
homepage_prod homepage at EventEmitter.eval (eval at (/home/ubuntu/homepage/node_modules/partial.js/index.js:22:10651), :4:60)
homepage_prod homepage at EventEmitter.emit (events.js:98:17)
homepage_prod homepage at Subscribe._execute (/home/ubuntu/homepage/node_modules/partial.js/index.js:24:11699)
homepage_prod homepage at EventEmitter.Async.refresh (/home/ubuntu/homepage/node_modules/partial.js/utils.js:23:423)
homepage_prod homepage at AsyncTask.complete (/home/ubuntu/homepage/node_modules/partial.js/utils.js:22:29597)
homepage_prod homepage at EventEmitter.Session._create (/home/ubuntu/homepage/modules/session.js:75:5)
homepage_prod homepage at EventEmitter.Session._read (/home/ubuntu/homepage/modules/session.js:38:14)
homepage_prod homepage at Object. (/home/ubuntu/homepage/modules/session.js:95:32)
homepage_prod homepage at AsyncTask.run (/home/ubuntu/homepage/node_modules/partial.js/utils.js:22:28705)
homepage_prod homepage at EventEmitter.Async.refresh (/home/ubuntu/homepage/node_modules/partial.js/utils.js:23:197)
homepage_prod homepage at EventEmitter.Async.run (/home/ubuntu/homepage/node_modules/partial.js/utils.js:22:31244)
homepage_prod homepage at Subscribe.execute (/home/ubuntu/homepage/node_modules/partial.js/index.js:24:11034)
homepage_prod homepage at Subscribe.prepare (/home/ubuntu/homepage/node_modules/partial.js/index.js:24:11523)
homepage_prod homepage at Subscribe._end (/home/ubuntu/homepage/node_modules/partial.js/index.js:24:13596)
homepage_prod homepage at IncomingMessage.EventEmitter.emit (events.js:92:17)
homepage_prod homepage at _stream_readable.js:920:16
homepage_prod homepage at process._tickCallback (node.js:415:13)

Hi @thelinuxlich,
Authorization & Session module are prepared for the new version of partial.js. Please download new version from GitHub (partial.js/minify/).

I'm testing new version on some projects. I think that this week I'll publish new version.
Thanks for understanding.