andrewdavey / immutable-devtools

Chrome Dev Tools custom formatter for Immutable-js values
BSD 3-Clause "New" or "Revised" License
661 stars 29 forks source link

Show the name of Records #6

Closed jonaskello closed 8 years ago

jonaskello commented 8 years ago

Example code:

    let MyRecord = Immutable.Record({foo: 4}, "MyRecord");
    let bar = new MyRecord({foo: 3});
    debugger;

Printed to the Console:

image

It would be nice if instead of just printing "Record" the formatter would print the actual name of the record, in this case "MyRecord". Or it may print "Record: MyRecord" to see that is is a Record with this name.

andrewdavey commented 8 years ago

Implemented in 0.0.5

jonaskello commented 8 years ago

Thanks, this works great!