(newFormat)
| 654 | var formatObj = {}; |
| 655 | |
| 656 | function includeFormat(newFormat) { |
| 657 | var formatFinished = true; |
| 658 | for(var i = 0; i < formatKeys.length; i++) { |
| 659 | var formatKey = formatKeys[i]; |
| 660 | if(!formatObj[formatKey]) { |
| 661 | if(newFormat[formatKey]) { |
| 662 | formatObj[formatKey] = newFormat[formatKey]; |
| 663 | } else formatFinished = false; |
| 664 | } |
| 665 | } |
| 666 | if(formatFinished) formatDone = true; |
| 667 | } |
| 668 | |
| 669 | // same as localize, look for format parts in each format spec in the chain |
| 670 | for(var i = 0; i < 2; i++) { |
no outgoing calls
no test coverage detected
searching dependent graphs…