update dependsOn to accept array
Merge pull request #811 from snowkeeper/react-dependsOn

update dependsOn to accept array