Skip to content

Commit

Permalink
add these options back
Browse files Browse the repository at this point in the history
  • Loading branch information
okor committed May 7, 2015
1 parent 2a74f8a commit 867273e
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion examples/simple.html
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,19 @@ <h1>justice.js</h1>
<!-- loading jquery to simulate real world, post load, ajax requests -->
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script type="text/javascript">
Justice.init();
Justice.init({
metrics: {
TTFB: { budget: 200 },
domInteractive: { budget: 250 },
domComplete: { budget: 800 },
firstPaint: { budget: 1000 },
pageLoad: { budget: 2000 },
requests: { budget: 6 },
},
warnThreshold: 0.08,
showFPS: true,
chartType: 'spline'
});
</script>


Expand Down

0 comments on commit 867273e

Please sign in to comment.