Skip to content

Commit

Permalink
Move gaze require into exported function
Browse files Browse the repository at this point in the history
Due this issues:
 * shama/gaze#98
 * shama/gaze#40

Closes #25
  • Loading branch information
floatdrop committed Apr 17, 2014
1 parent d2e558c commit 6453a43
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@

var Duplex = require('stream').Duplex,
batch = require('gulp-batch'),
Gaze = require('gaze'),
fs = require('vinyl-fs'),
path = require('path'),
gutil = require('gulp-util'),
minimatch = require('minimatch'),
glob2base = require('glob2base');

module.exports = function (opts, cb) {
var Gaze = require('gaze');

if (typeof opts !== 'object') {
cb = opts;
opts = { };
Expand Down

0 comments on commit 6453a43

Please sign in to comment.