(attr, value)
| 283 | } |
| 284 | |
| 285 | function modifyItem(attr, value) { |
| 286 | if(templateItemName) { |
| 287 | // we're making a new object: edit that object |
| 288 | Lib.nestedProperty(update[itemStr], attr).set(value); |
| 289 | } else { |
| 290 | // we're editing an existing object: include *just* the edit |
| 291 | update[itemStr + '.' + attr] = value; |
| 292 | } |
| 293 | } |
| 294 | |
| 295 | function getUpdateObj() { |
| 296 | var updateOut = update; |
no outgoing calls
no test coverage detected
searching dependent graphs…