Skip to content
This repository has been archived by the owner on Nov 27, 2019. It is now read-only.

Require 'when' module in post.js #423

Merged
merged 1 commit into from
Dec 15, 2015

Conversation

Mathieuu
Copy link
Contributor

The postXpi in libs/post.js cannot be called directly like this: var post = require('jpm/lib/post'); because when is not defined in the module scope.

When calling post, the code breaks here: https://github.com/mozilla-jetpack/jpm/blob/master/lib/post.js#L16.

Ready for code review @FayneAldan @kumar303

@kumar303
Copy link
Contributor

Thanks. This code never got test coverage for some reason.

kumar303 added a commit that referenced this pull request Dec 15, 2015
@kumar303 kumar303 merged commit 15bdfc1 into mozilla-jetpack:master Dec 15, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants