(obj)
| 384 | |
| 385 | // Utility for getting object keys |
| 386 | function getObjectKeys (obj) { |
| 387 | var key, keys = []; |
| 388 | for (key in obj) { |
| 389 | if (obj.hasOwnProperty(key)) { |
| 390 | keys.push(key); |
| 391 | } |
| 392 | } |
| 393 | return keys; |
| 394 | } |
| 395 | |
| 396 | // Utility for deep equality testing of objects |
| 397 | function objectsEqual (obj1, obj2) { |
no outgoing calls
no test coverage detected