Skip to content

Commit

Permalink
Bug: can't not found module hexo-util. iissnan#1500
Browse files Browse the repository at this point in the history
  • Loading branch information
iissnan committed Mar 13, 2017
1 parent 32296f0 commit a91de8a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/tags/exturl.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@
'use strict';

/*jshint camelcase: false */
var util = require(hexo.base_dir + 'node_modules/hexo/node_modules/hexo-util');
var util = require(hexo.base_dir + 'node_modules/hexo-util');
/*jshint camelcase: true */
var htmlTag = util.htmlTag;
//console.log(util);

var rUrl = /((([A-Za-z]{3,9}:(?:\/\/)?)(?:[-;:&=\+\$,\w]+@)?[A-Za-z0-9.-]+|(?:www.|[-;:&=\+\$,\w]+@)[A-Za-z0-9.-]+)((?:\/[\+~%\/.\w-_]*)?\??(?:[-\+=&;%@.\w_]*)#?(?:[.\!\/\\w]*))?)/;

Expand Down

0 comments on commit a91de8a

Please sign in to comment.