Skip to content

Commit

Permalink
Merge pull request #11 from aui/dev
Browse files Browse the repository at this point in the history
options兼容
  • Loading branch information
aui committed May 25, 2016
2 parents 9e8109e + fa7b775 commit e5bdfa8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions index.js
Expand Up @@ -10,6 +10,8 @@ var htmlFiles = null;

function createStream(options) {

options = options || {};

if (!options.resourceBeforeLoad) {
options.resourceBeforeLoad = function(file) {
if (/https?/.test(file)) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "gulp-font-spider",
"version": "0.3.5",
"version": "0.3.6",
"description": "font-spider for gulp",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit e5bdfa8

Please sign in to comment.