Permalink
Browse files

Repair missed Snapshot.getHeader

  • Loading branch information...
1 parent 1455452 commit 850a65f7e648077562fc5235e343b0d9b96c02c4 @3y3 3y3 committed Jun 18, 2014
Showing with 8 additions and 0 deletions.
  1. +8 −0 v8-profiler.js
View
@@ -3,6 +3,14 @@ var binding = require("./build/Release/profiler"),
function Snapshot() {}
+Snapshot.prototype.getHeader = function() {
+ return {
+ typeId: this.typeId,
+ uid: this.uid,
+ title: this.title
+ }
+}
+
Snapshot.prototype.compare = function (other) {
var my_objects = this.nodeCounts(),
their_objects = other.nodeCounts(),

0 comments on commit 850a65f

Please sign in to comment.