Skip to content

Commit

Permalink
Merge pull request codymikol#147 from jambonsw/issue_146_fix_no_provi…
Browse files Browse the repository at this point in the history
…der_errors

Fix 146 - no provider errors
  • Loading branch information
MikaAK authored Jul 26, 2016
2 parents f4dde0c + 9666349 commit 24628dc
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ var blocked = []
var isBlocked = false

function Plugin(
webpackOptions, /* config.webpack */
webpackServerOptions, /* config.webpackServer */
webpackMiddlewareOptions, /* config.webpackMiddleware */
basePath, /* config.basePath */
files, /* config.files */
frameworks, /* config.frameworks */
/* config.webpack */ webpackOptions,
/* config.webpackServer */ webpackServerOptions,
/* config.webpackMiddleware */ webpackMiddlewareOptions,
/* config.basePath */ basePath,
/* config.files */ files,
/* config.frameworks */ frameworks,
customFileHandlers,
emitter) {
webpackOptions = _.clone(webpackOptions) || {};
Expand Down Expand Up @@ -208,7 +208,7 @@ function createPreprocesor( /* config.basePath */ basePath, webpackPlugin) {
}

function createWebpackBlocker() {
return function (request, response, next) {
return function(request, response, next) {
if (isBlocked) {
blocked.push(next)
} else {
Expand Down

0 comments on commit 24628dc

Please sign in to comment.