Merge pull request #8 from kyriosli/master

调整组件查找逻辑
Update doc.js

add trimHTML
Merge pull request #3 from RubyLouvre/master

merge