Skip to content

Commit

Permalink
Merge pull request webpack#4 from gawkermedia/support-nonnumeric-chun…
Browse files Browse the repository at this point in the history
…k-ids

support nonnumberic chunk ids on chunk pages
  • Loading branch information
casey-speer committed Dec 10, 2015
2 parents cbe201c + c25da02 commit 5b07a0b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/pages/chunk/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ var modulesGraph = require("../../graphs/modules");
var sortTable = require("../../sortTable");

module.exports = function(id) {
id = parseInt(id, 10);
var parsedId = parseInt(id, 10);
if (parsedId) {
id = parsedId;
}
document.title = "chunk " + id;
$(".page").html(require("./chunk.jade")({
stats: app.stats,
Expand Down

0 comments on commit 5b07a0b

Please sign in to comment.