Skip to content

Commit d56f71c

Browse files
committed
Mutations properties are underscore styled
1 parent 02bb08f commit d56f71c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dop",
3-
"version": "0.28.2",
3+
"version": "0.30.0",
44
"main": "./dist/dop.nodejs.js",
55
"browser": "./dist/dop.js",
66
"unpkg": "./dist/dop.min.js",

test/mutation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ test('Array.splice', function(t) {
254254
var mutation = mutations[0]
255255
t.deepEqual(array.array.length, 4, 'array.array.length')
256256
t.deepEqual(mutation.object.length, 4, '.object.length')
257-
t.deepEqual(mutation.oldLength, 6, '.oldLength')
257+
t.deepEqual(mutation.old_length, 6, '.old_length')
258258
t.equal(mutation.object, array.array, '.object')
259259
t.equal(mutation.prop, 'array', '.prop')
260260
t.deepEqual(mutation.splice, [ 3, 3, [ true ] ], '.splice')

0 commit comments

Comments
 (0)