Skip to content
  1. Feb 10, 2020
  2. Apr 15, 2019
    • Tony Duane Smith's avatar
      Merge pull request #1 from fabiankaegy/fabiankaegy-patch-1 · 70d84d03
      Tony Duane Smith authored
      Adding case where only one child exists
      70d84d03
    • Fabian Kägy's avatar
      Adding case where only one child exists · 20c34660
      Fabian Kägy authored
      In the case where there was only one child element, it was not returned as an Array with only one element, but just as the Object itself. Therefore it caused a crashing error. 
      
      In order to check for that I added two inline checks that check wether the element at the index 0 exists. If not we can assume that there is only one, because we already checked wether it is undefined earlier.
      20c34660
  3. Mar 07, 2019
  4. Aug 27, 2018
  5. Aug 26, 2018
  6. Aug 22, 2018
Loading