kissyteam/xtpl — pull request #9 by threeday0905 (2014-12-01 16:37:02+00:00)
Title: make sure the extname is starts with "."

loader.load expects `option.extname` to be startswith "."
add some check code to ensure it.