Merge pull request #2 from zhaoda/master

merge from zhaoda:master
bugfix the order of afteropen execution
Merge branch 'master' of ssh://mygithub/zhaoda/spa
Merge pull request #4 from Tencent-BJF2E/master

Merge pull request #2 from zhaoda/master
Automatically rewritten for npm.