Skip to content
This repository has been archived by the owner on Jun 2, 2018. It is now read-only.

Commit

Permalink
fix(example): add item and posts
Browse files Browse the repository at this point in the history
  • Loading branch information
azu committed Nov 21, 2015
1 parent 59f96e7 commit c3e73d2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions example/browser-example.js
Expand Up @@ -6,8 +6,7 @@ var assert = require("assert");
var items = require("jser-stat/data/items");
var posts = require("jser-stat/data/posts");
var JSerStat = require("jser-stat").JSerStat;

var stat = new JSerStat();
var stat = new JSerStat(items, posts);
assert(stat.getJSerWeeks().length > 0);
var firstWeek = stat.findJSerWeek(1);
assert(firstWeek.weekNumber === 1);
Expand Down

0 comments on commit c3e73d2

Please sign in to comment.