Skip to content

Commit

Permalink
Fixed tag cloud helper
Browse files Browse the repository at this point in the history
  • Loading branch information
tommy351 committed Aug 28, 2013
1 parent 45354b9 commit 241affd
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions lib/plugins/helper/tagcloud.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
var _ = require('lodash'),
config = hexo.config,
root = config.root;
var _ = require('lodash');

module.exports = function(tags, options){
if (!options){
Expand All @@ -25,7 +23,8 @@ module.exports = function(tags, options){
max = options.max_font,
orderby = options.orderby,
order = options.order,
unit = options.unit;
unit = options.unit,
root = this.config.root;

tags = tags.sort('length');

Expand Down

0 comments on commit 241affd

Please sign in to comment.