Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix for undefined lscache. #306

Merged
merged 1 commit into from Jul 14, 2014
Merged

fix for undefined lscache. #306

merged 1 commit into from Jul 14, 2014

Conversation

chrisamaral
Copy link
Contributor

lscache was renamed to cache in InjectContext.env but communicator.js wasn't refactored thus whenever readFromCache was called it would hit undefined. Besides, the .cache property was not actually imported into InjectContext. I also updated the distribution and recompiled it with closure (not too familiar with grunt), which works just fine, in case anyone looking for a quick fix.

…nicator.js wasn't refactored thus whenever readFromCache was called it would hit undefined. Also, the cache property was not actually imported into InjectContext. I also updated the distribution and recompiled it with closure (not too familiar with grunt), which works just fine, in case anyone looking for a quick fix.
@chrisamaral
Copy link
Contributor Author

Oh yea, didn't even touch the tests. pfff...

@jakobo
Copy link
Contributor

jakobo commented Jul 4, 2014

Thanks. I'll verify this in the morning and get 0.7.1 out. I'll also add a
test.

On Thursday, July 3, 2014, Christian notifications@github.com wrote:

Oh yea, didn't even touch the tests. pfff...


Reply to this email directly or view it on GitHub
#306 (comment).

--Jakob

@jakobo jakobo merged commit fe8e57e into LinkedInAttic:master Jul 14, 2014
jakobo added a commit that referenced this pull request Jul 14, 2014
The lscache object was undefined due to the refactoring of the communicator.
This change converts the communicator calls to this.env.cache. The tests were
updated to ensure travis ci passes.

Original author: @chrisamaral
Fixes #306

This is a recommended patch for all 0.7.0 users and will result in a 0.7.1
build.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants