Fix a bug in plugin-shim. close #694
Merge branch 'master' of github.com:seajs/seajs