Skip to content

Commit

Permalink
Make formatting more consistent.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmm committed Feb 24, 2015
1 parent 8ef185f commit 2bb03ae
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,13 @@ function Browserify (files, opts) {
self._ticked = false;

var ignoreTransform = [].concat(opts.ignoreTransform).filter(Boolean);
self._filterTransform = function(tr) {
self._filterTransform = function (tr) {
if (Array.isArray(tr)) {
return ignoreTransform.indexOf(tr[0]) === -1;
}
return ignoreTransform.indexOf(tr) === -1;
}
};

self.pipeline = self._createPipeline(opts);

[].concat(opts.transform).filter(Boolean).filter(self._filterTransform)
Expand Down Expand Up @@ -276,11 +276,11 @@ Browserify.prototype.transform = function (tr, opts) {
return this;
}

function resolved() {
function resolved () {
self._transforms[order] = rec;
-- self._pending;
if (-- self._transformPending === 0) {
self._transforms.forEach(function(transform) {
self._transforms.forEach(function (transform) {
self.pipeline.write(transform);
});

Expand Down

0 comments on commit 2bb03ae

Please sign in to comment.